#bwurtz999-invoice-to-charge
1 messages · Page 1 of 1 (latest)
yes, you can't use payment method with the legacy Charges API, you should use Payment Intents:
https://stripe.com/docs/payments/payment-intents
Oh... charges are legacy? Are they going to stop being supported soon?
And thank you! Payment intents looks like the answer
No plans for that that I'm aware of no, but yea you want to use the newer Payment Intents API
The Charges API is an older payments API that does not handle bank requests for card authentication. Try the latest payments APIs and integrations instead.
ok. I ask because for a different part of my application I already use payment intents but I save the charge_id tied to a captured payment intent
and that is how I look up a charge if I need to issue a refund
should I be saving the paymentIntent id and using that instead?
you can use either for a refund actually
oh ok nice
thanks for your help. this discord is awesome!