#Miloszex
1 messages · Page 1 of 1 (latest)
Yes yes sorry wrote to fast 😄
Np!
and What webhook event should i handle then?
We have test cards for declines that you can see here: https://stripe.com/docs/testing#declined-payments
ooooo nice!
The Webhook depends a bit on your integration.
What Stripe integration are you using?
Are you following a particular guide?
im using stripe library and object that Im using is
stripe.checkout.Session.create
and it depends from payload if its subscription or just one time payment
Gotcha
With Checkout you want checkout.session.completed. See: https://stripe.com/docs/payments/checkout/fulfill-orders
oookay only failed that I can see here is
checkout.session.async_payment_failed
You won't get a webhook at all for a failed Checkout Session
(Unless it is an async failure)
The customer sees a decline right on the Checkout Session UI for a failure
And it indicates they should try again with a different card
got it So if user failed the payment because of any of reason I need to handle this one right?
checkout.session.async_payment_failed
sorry for my English
If you are supporting async payment methods (like bank debits) then yes.
okay and if not? There is only error in stripe checkout view right?
Yep
Thanks!
Sure
Have a nice day