#user1-migration
1 messages · Page 1 of 1 (latest)
hi there, does this guide help? https://stripe.com/docs/payments/payment-intents/migration
Hi Alex,
I read the docs but its confusing me. i already shared my expected results and previous flow of integration.if possible can you please tell the steps for saved cards.because in the docs theres is three type are showing.
In our integration flow we have an option for saved card option in the card details collecting screen. if they choose the option we will create a customer and attach the card token into the customer object.then nex time same customer came our applcation we will show list of cards based on the customer source resonse
are you using the Card Element?
if you are, you can still always attach a card to the customer following this guide : https://stripe.com/docs/payments/save-and-reuse-cards-only
although it isn't necessary to save a card to the customer first before making payment. You can set setup_future_usage=off_session and a customer on a PaymentIntent. When you do so the payment details are automatically saved to the customer once the payment is confirmed. You can also supply this parameter when creating the PaymentIntent on your server.
https://stripe.com/docs/api/payment_intents/create#create_payment_intent-payment_method_options-card-setup_future_usage or
https://stripe.com/docs/api/payment_intents/create#create_payment_intent-setup_future_usage or
https://stripe.com/docs/js/payment_intents/confirm_card_payment#stripe_confirm_card_payment-data-setup_future_usage
I am using payment-element for normal payment flow.
actually, just we started our development. currently we payment-element for normal payment flow.(its mentioned in one time flow). we need normal this flow and saved card flow
the same applies - you can refer to these docs instead for the Payment Element
https://stripe.com/docs/payments/save-and-reuse
https://stripe.com/docs/payments/save-during-payment