#Miloszex

1 messages · Page 1 of 1 (latest)

ionic spruceBOT
faint harness
#

Hi there

#

Ask your question in this thread

bronze portal
#

Yes yes sorry wrote to fast 😄

faint harness
#

Np!

bronze portal
#

and What webhook event should i handle then?

faint harness
bronze portal
#

ooooo nice!

faint harness
#

The Webhook depends a bit on your integration.

#

What Stripe integration are you using?

#

Are you following a particular guide?

bronze portal
#

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

faint harness
#

Gotcha

bronze portal
#

oookay only failed that I can see here is
checkout.session.async_payment_failed

faint harness
#

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

bronze portal
#

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

faint harness
#

If you are supporting async payment methods (like bank debits) then yes.

bronze portal
#

okay and if not? There is only error in stripe checkout view right?

faint harness
#

Yep

bronze portal
#

Thanks!

faint harness
#

Sure

bronze portal
#

Have a nice day