#ilyeselb
1 messages · Page 1 of 1 (latest)
To reuse the payment method, you can create a new payment intent and provide the saved payment method's ID when confirming the intent https://stripe.com/docs/payments/save-and-reuse?platform=web&ui=elements#charge-saved-payment-method
but setupIntent will not work with 3D secure card
I was more pointing to that specific step
That step creates a payment intent after saving a payment method
Even though the payment method is saved differently, you can use it the same in that kind of card
Also, for future reference, SetupIntents do support 3DS
we are changing the flow because 3d secure dont work with confirmSetup
i receive invoice failed response webhook and one of your devs adviced me to move to https://stripe.com/docs/payments/save-and-reuse?platform=web
but the subscription tab*
and now i want to reuse the the saved paymmentMethod
that get saved on
Taking a step back, can you tell me what the intended flow here is? It sounds like you are creating a subscription and want to charge the user upfront, and then your current quesiton is how to set up the subscription to properly charge this user on ever cycle?
i have a saved credit card , i want to use it to pay
for a subscription
so i should create a paymentIntent or setupIntent
If you have the card saved already, you just need to set it as the default payment method for either the customer or the subscription https://stripe.com/docs/api/customers/update#update_customer-invoice_settings-default_payment_method
https://stripe.com/docs/api/subscriptions/object#subscription_object-default_payment_method
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
but a user can have buysubscription
so i want to save it for the customer then use it in other payment
Not quite sure what you mean. Can you try explaining that with more details?