Skip to content

Buckaroo iDeal push is not sending authorization header when using httppost #67

@sander1095

Description

@sander1095

Hello!

We are using buckaroo to accept ideal payments. Creating a transaction and redirecting the user works, but handling the push messages doesn't.

We use .NET, and we use the following code to check if the incoming push message is safe and sound:

        var push = _sdkClient
            .GetPushHandler(_paymentProviderOptions.Authentication.SecretKey)
            .DeserializePush(
                paymentStatusRetrieval.RequestBody,
                paymentStatusRetrieval.RequestUri.Authority + paymentStatusRetrieval.RequestUri.PathAndQuery,
                paymentStatusRetrieval.RequestAuthorizationHeader);

This throws a nullreference exception, the only reason why I can imagine this happens is because the RequestAuthorizationHeader is in fact empty.

When checking the incoming request we also don't see an authorization header.

How can we fix this? Do we need we to do something special with the request to ensure that Buckaroo sends us an authorization header? Is the mistake on our end? Or can we work around this somehow?

I'd love some advice. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions