#anil8486

1 messages · Page 1 of 1 (latest)

reef shellBOT
lunar gale
#

What webhook events are you listening to?

lethal halo
#

Invoice.payment_succeeded, invoice.paid, invoice.payment_failed these are the events

lunar gale
#

These events are related to invoices.

#

Are you using Checkout sessions?

lethal halo
#

Yes, Stipe.checkout.sessions.create

lunar gale
#

Ok, you can listen to checkout.session.complete event

lethal halo
#

Do i need to create new webhook or updating will work?

lunar gale
#

Both. You should go to Dashboard and configure the webhook endpoitnt to listen to this event, and you should also update your webhook endpoint code to handle this event.

lethal halo
#

Okay i will tey this

#

Its working

#

But this checkout.session.complete will also be called for subscription?

lunar gale
#

Yes you are right

lethal halo
#

Okay and invoice events are not available for mode= payment?

lunar gale
#

No