#sweets8594
1 messages · Page 1 of 1 (latest)
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.
- sweets8594, 4 hours ago, 28 messages
- sweets8594, 6 hours ago, 14 messages
- sweets8594, 5 days ago, 19 messages
- sweets8594, 5 days ago, 21 messages
The error is pretty clear no?
Your server is parsing the incoming request to JSON before invoking constructEvent
the SDK expects it to be raw format/buffer
you'd likely want to disable automatic JSON parsing for incoming request on webhook route
but is this the write code please tell mee
express.raw({type: 'application/json'}), I'm Not using this
is not using this is the only issue
We have an example guide here
https://stripe.com/docs/webhooks/quickstart
I can't say if the code is right or wrong since I can't test it myself. As a developer, you need to conduct tests and debug what's going on
if you have the code or some reference please share