#w3ever-transfers
1 messages · Page 1 of 1 (latest)
@ashen grail it' the ID of the Charge the PaymentIntent created, so if you have a PaymentIntent object it's intent->charges->data[0]->id
Ok. thank you. can't i get chargeID from checkout session object? of course there is paymentIntentId in session object.
there should be a PaymentIntent ID in the CheckoutSession object!
if it was mode:payment at least
yes. I know. I can get payment intent id from checkout session object.
but can't i get chargeId from checkout session object directly?
no but you can get it via the PI ID on the CheckoutSession
you can use https://stripe.com/docs/expand as well to get the information easier