#spoolyx

1 messages ยท Page 1 of 1 (latest)

delicate capeBOT
red igloo
#

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

low turtle
#

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 ๐Ÿ˜…

red igloo
low turtle
#

nah, it's only CC's for now!

So, listening to checkout.session.completed should be good enough for our use case, right?