#vaths59
1 messages ยท Page 1 of 1 (latest)
Hi there, HTTP_STRIPE_SIGNATURE is a header set by Stripe for webhook event.
Can't understand, can you explain it in detail?๐
Yes, the signatures will be different
Then how can I implement it with my program in my server?
I can't successfully run and test a process . That error shows keyerror with HTTP_STRIPE_SIGNATURE message
You can use stripe trigger CLI command to create a event to test your webhook endpoint.
That's fyn with local testing but what should I do to make it work in live mode?
I'd suggest you to make it work in test before moving to live.
Even in test mode I'm working in a live web server to check it's working online. Even for that it's not working.
What should I do for that?
Using test mode payment checkouts, test keys,etc.
Then you might want to check you code. If I were you I'll print out request.META and see if it's the right data structure to get the signature header.
Do you have any working code for it?
These online codes in stripe docs feels like they are not working to my expectations ๐
You can get example code from
https://stripe.com/docs/webhooks/quickstart
Fyn thank you
Just checked now, even using the example code in the document, I can't get the http signature
Stripe sends the event as a POST requet
Is your webhook endpoint handling POST requests?
How can I check that?
That's your code.