#yogistaste-no-signatures
1 messages · Page 1 of 1 (latest)
yes
after the payment is should be updated to graphcms after validating but it's not happening
Do you use app.post('/webhook', express.raw({type: 'application/json'}), ... instead of app.post('/webhook', express.json({type: 'application/json'}), … in the endpoint handler?
this is the webhook snippet
is it because of endpoint URL ?
There is the sample code from the Stripe website https://stripe.com/docs/webhooks/quickstart
I have seen that, in the code snipped I have sent you, they are also doing same way, would you mind take a look at it, please
can I recommend you to use the example code provided by Stripe? Thanks.
I can use that, but I request you to help me to find our the issue with this code, otherwise I have to do that lot of code restructure