#Sachin_

1 messages · Page 1 of 1 (latest)

lost vaultBOT
primal robin
#

hi! well your code would need to be different, because for example the webhook signing secret whsec_xxx is different for each endpoint.

What are the actual errors you're getting?

storm yarrow
#

Yes

#

I changed that

#

But also not getting the the dashboard

#

Do I need to disable testing webhook

primal robin
#

no

storm yarrow
#

Didn't get any error

#

Payment is accepted by stripe

#

But webhook didn't triggered

primal robin
#

what's the ID of the payment accepted? pi_xxx etc

storm yarrow
#

Let me.share

#

pi_3MRuEeCPcXP7FuxJ08ZFk8A5

#

Are you there ?

primal robin
#

yes

#

I'm looking, I'm helping you, it takes time

storm yarrow
#

Np problem

primal robin
#

your webhook works fine, the thing is the event hasn't happened yet

#

you only listen to checkout.session.completed and that hasn't happened yet because the customer used an async payment method

storm yarrow
#

What is that

#

How can I fix that

storm yarrow
#

Which event is triggered then

#

Or it will be triggered later.

#

Or I have to listen to any other event.

primal robin
#

read the docs I linked, they answer all that

storm yarrow
#

Okay got it

#

So I have to add trigger on async_payment_succeeded.

#

How can I send test webhook on server like I can trigger webhook on live I can trigger in the testing

#

Sorry for these questions

#

But i am stuck on that this

primal robin
#

if it works in test mode it will work in live mode, you just have to wait for some real payments

storm yarrow
#

It was working fine on test with this checkout.session.completed

#

Let me check with client