#yogistaste-no-signatures

1 messages · Page 1 of 1 (latest)

trail tiger
#

Hi there, are you testing the webhook integration?

hallow nymph
#

yes

#

after the payment is should be updated to graphcms after validating but it's not happening

trail tiger
#

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?

hallow nymph
#

this is the webhook snippet

#

is it because of endpoint URL ?

trail tiger
hallow nymph
#

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

trail tiger
#

can I recommend you to use the example code provided by Stripe? Thanks.

hallow nymph
#

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