We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using XAMPP on a local windows development machine I get the following error:
Error: An unexpected error occurred with status code "400" and message "The request signature is invalid."
Code used:
$environmentType = BunqEnumApiEnvironmentType::SANDBOX(); $apiKey = '### Your API Key ###'; $deviceDescription = '### Your device description ###'; $permittedIps = ['my.local.ip.address']; $apiContext = ApiContext::create( $environmentType, $apiKey, $deviceDescription, $permittedIps );
This does not happen on Linux machines. It seems to be a problem with the session-server call, the first call that has to be signed.
The text was updated successfully, but these errors were encountered:
@BabyDino It is most probably related to the line endings! Thank you for pointing out, I'll fix it and roll out hopefully today :)
Sorry, something went wrong.
Most probably yes, I had the same issue with my own wrapper now you mention it.
Do not rely on PHP_EOL when signing. bunq expects \n.
Fixed by @BabyDino :)
Regenerated code. (#8)
f43e6e2
dnl-blkv
No branches or pull requests
When using XAMPP on a local windows development machine I get the following error:
Error: An unexpected error occurred with status code "400" and message "The request signature is invalid."
Code used:
This does not happen on Linux machines. It seems to be a problem with the session-server call, the first call that has to be signed.
The text was updated successfully, but these errors were encountered: