#rubs-webhooks

1 messages · Page 1 of 1 (latest)

pseudo hedge
#

Hi there! Well, you don't! It is up to you. Most folks want checkout.session.completed because it contains more holistic information about the Checkout Session.

#

But, for your integration you can use invoice.paid if it works for your needs.

hollow orbit
#

it is more reliable with invoice.paid no ? Because checkout.session.completed doesn't guarantee than payment was done ?

pseudo hedge
#

checkout.session.completed does guarantee that a synchronous payment was successful. If you are using asynch paymentmethods then you would need to wait for checkout.session.async_payment_succeeded in that case.