#spoolyx
1 messages ยท Page 1 of 1 (latest)
Hello ๐
It mostly depends on the payment methods you are supporting, as some of them are asynchronous and can fail later on.
for one-time payments, you can also listen for payment_intent.succeeded events which confirms that the payment went through
But could it happen that the user pays, and I only get the event type payment_intent.succeeded ?
If I had to choose to listen to only one event for the sake of reducing dev scope, would it be safer to listen to payment_intent.succeeded instead?
and I'm only talking about paying via credit card using stripe pricing table... not sure how would the user be able to pay asynchronously in this case ๐
Ah if you're just using credit cards then yeah there's no chance of payments failing asynchronously. I was thinking more on the lines of supporting something like ACH
https://stripe.com/docs/payments/ach-debit
nah, it's only CC's for now!
So, listening to checkout.session.completed should be good enough for our use case, right?