#Carlos Bolivar-payment-methods
1 messages · Page 1 of 1 (latest)
Do you have any examples?
I would like to know what is the field name in the "payment_methods" to set the token
should I use to use payment element correct?
It depends! That is our recommended integration if you can't use Checkout or prefer the custom flow
cool!
If you're using Payment Element, then there's no need to configure specific types or pass parameters around as it'll handle the creation from the data input
second question for you: We are using "v1/Charges" method to registar a charge in stripe. If we decide to use payment_methods, we must to use payment_intents?
Yes, you can't use pm_xxx objects with Charges. Nor can you use Payment Element with Charges
Generally you should be transitioning to Payment Intents where possible
oh my God 🙁 we have a lot logic with "charges", do you know any way to save the payment method using "charges" method?
You'd probably use Sources: https://stripe.com/docs/sources
But again, older, deprecated API