#mrcoles

1 messages · Page 1 of 1 (latest)

gloomy sageBOT
fluid lion
#

Yeah PaymentIntents would be the right API to use.

  1. It will go back to requires_confirmation and the payment intent's underlying charge will have been declined
  2. Payment intents are generally manually cancelled: https://stripe.com/docs/api/payment_intents/cancel. I think expired checkout sessions also cancel payment intents.
  3. Yeah once a payment intent succeeds it stays there even if you refund it
  4. So those don't necessarily map 1 to 1 with payment intent statuses (as refunded and failed payment intents don't have those statuses)
#

This should also answer some questions about how all this is handled

dapper sage
#

Thx! Seems like I need to still check against the latest_charge to determine things like refund information and to differentiate on requires_payment_method?