#Kamiyabali - webhook
1 messages · Page 1 of 1 (latest)
yes
Are you following this guide ?
https://stripe.com/docs/webhooks/signatures
What language/framework are you using for creating the webhook endpoint ? nodejs ?
Yes, folowing this guide.
laravel (Php)
For your webhook endpoint, you need to make sure that the request payload is not parsed as JSON, it needs to be as a raw when you call
$event = \Stripe\Webhook::constructEvent($payload, $sig_header, $endpoint_secret);
Make sure that there is no parser until this call