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!
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:
This throws a nullreference exception, the only reason why I can imagine this happens is because the
RequestAuthorizationHeaderis 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!