#ChordOnCode
1 messages ยท Page 1 of 1 (latest)
sure; the easiest way is likely to be to
retrieve the CheckoutSession object when handling the webhook(https://stripe.com/docs/api/checkout/sessions/retrieve) and expand the "payment_intent.latest_charge" field
on the PaymentIntent you can then dig into that latest_charge and look at payment_method_details : https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card
Thank you for quick reply ๐
I just check the first api
but payment_intent seems a string value.
oh~ let me check it ! ๐
๐ taking over for my colleague. Let me know if there's any follow-up Qs I can answer!
let me try after meal ๐ my wife is waiting me kk thank you!
it works! thanks!
glad to hear that