-
Notifications
You must be signed in to change notification settings - Fork 19
Buckaroo iDeal push is not sending authorization header when using httppost #67
Copy link
Copy link
Open
Description
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!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels