#BRData

1 messages · Page 1 of 1 (latest)

silent wingBOT
round hinge
#

Yes it is. To clarify, will you be processing a payment every time when the customer enters in their card details? ie. will you be processing a payment and saving their card details at the same time?

warm ferry
#

Yes

#

They would come to the site - enter in their card details and pay for the product but along with that there would be an option to "save card details"

#

almost like a remember me feature

round hinge
#

Got it. So you could use the deferred intent flow which creates a payment intent after the customer has inputted their card details: https://stripe.com/docs/payments/accept-a-payment-deferred. You would have that checkbox and if it's checked, when you create the payment intent, you'd need to pass setup_future_usage to set the card up for future usage and save it for later: https://stripe.com/docs/api/payment_intents/create#create_payment_intent-setup_future_usage and also the customer id so it is attached to the right customer in Stripe: https://stripe.com/docs/api/payment_intents/create#create_payment_intent-customer

Build an integration where you can render the Payment Element prior to creating a PaymentIntent or SetupIntent.