#cogwash

1 messages · Page 1 of 1 (latest)

tough willowBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

unkempt cedar
#

Do you have the webhook event ID where invalid signature error occured?

smoky laurel
#

Since it's a SignatureVerificationException the event never gets constructed

unkempt cedar
#

The event was already generated before sending to your webhook endpoint.

#

Can you share with me your merchant ID? you can find it from the Stripe Dashboard -> Settings ->Account Details

smoky laurel
#

Found 3 generated live events for November 4 in Dashboard. Received ca. 50 events that day with invalid signatures. Times don't match. I suspect that's because we use the same webhook URL for test mode and live. Probably a bad idea. Is it possible to add an argument to the webhook ULR, like ?test=1

unkempt cedar
#

Yes you are right, you shouldn't use the same webhook endpoint for both test and live mode events

smoky laurel
#

Looks like a global $TESTMODE=true didn't cut it. Thanks. Can I pass an argument with the URL or do I need separate scripts?