#shane-webhook-order

1 messages · Page 1 of 1 (latest)

waxen yoke
#

@pine summit events can always arrive in any order, it's not guaranteed so you can't rely on this

pine summit
#

@waxen yoke , thanks that does confirm what I've seen. Is there a way for me to pass in a client_reference_id to the payment_intent as part of a checkout.session.create ?

#

I'm trying to see if a checkout has been paid, which I assume means I have to listen to the payment_intent.succeeded event

waxen yoke
#

you should only rely on checkout.session.completed and completely ignore the PaymentIntent events to avoid this

pine summit
#

the checkout.session.completed has two properties: payment_status and status .
These should be 'paid' and 'complete', respectively. Is that correct?

Does this event only occur if the session was paid (i.e. not cancelled)

waxen yoke
#

yes