#costantino_40687

1 messages ยท Page 1 of 1 (latest)

kind iceBOT
devout pivot
hasty surge
#

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)
devout pivot
#

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?

hasty surge
#

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

devout pivot
#

๐Ÿ‘