#w3ever-transfers

1 messages · Page 1 of 1 (latest)

kind radish
#

@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

ashen grail
#

Ok. thank you. can't i get chargeID from checkout session object? of course there is paymentIntentId in session object.

kind radish
#

there should be a PaymentIntent ID in the CheckoutSession object!

#

if it was mode:payment at least

ashen grail
#

yes. I know. I can get payment intent id from checkout session object.

#

but can't i get chargeId from checkout session object directly?

kind radish
#

no but you can get it via the PI ID on the CheckoutSession