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
Hi, I wanted to know, I have a laravel project, and tried to implement this package in order to support payments with crypto.
The only problem I have is that I don't know how can I verify coinbase's signature on the webhook events.
What I'm trying to do is something like this example from the readme file:
use CoinbaseCommerce\Webhook; try { Webhook::verifySignature($signature, $body, $sharedSecret); echo 'Successfully verified'; } catch (\Exception $exception) { echo $exception->getMessage(); echo 'Failed'; }
I don't have any problem getting the signature or the shared secret, but I don't know how can I get the raw body of the request.
If anyone can help, I'd really appreciate it.
I'm using the following:
The text was updated successfully, but these errors were encountered:
@TheMrCorvy maybe this example could help you. https://github.com/coinbase/coinbase-commerce-php/blob/master/examples/Webhook/Webhook.php
Sorry, something went wrong.
No branches or pull requests
Hi, I wanted to know, I have a laravel project, and tried to implement this package in order to support payments with crypto.
The only problem I have is that I don't know how can I verify coinbase's signature on the webhook events.
What I'm trying to do is something like this example from the readme file:
I don't have any problem getting the signature or the shared secret, but I don't know how can I get the raw body of the request.
If anyone can help, I'd really appreciate it.
I'm using the following:
The text was updated successfully, but these errors were encountered: