#costantino_40687
1 messages ยท Page 1 of 1 (latest)
If the PaymentIntent belongs to the connected acount then you need to use Stripe-Account header
https://stripe.com/docs/connect/authentication
Hi Hanzo, i'm Costantino.. the guy who yesterday had the problem with the webhook (i don't know if you remember). I want to tell that i resolved the problem. I've debug my code and i found that the webhook secret was incorrect ๐ฆ
Btw i want to notice you an issue in the stripe doc. The proper way to call the construct_event method(in DJANGO) is this:
- payload = request.body
- sig_header = request.headers['STRIPE_SIGNATURE'] (and not request.META['STRIPE_SIGNATURE'] as doc says)
Ah thank you for circling back, glad you figured it out
I can flag the docs change internally. Can you share the exact link where you saw the wrong variable?
Thank you and thanks to your colleagues for the support and the time you gave me ๐
For sure, i'll try to recover the link of doc
๐