#Scotty
1 messages · Page 1 of 1 (latest)
Hello! You can do that, but you need to write a fair bit of code on your end to handle the parts specific to your use case.
To clarify one point, is there an initial payment when your customers provide their payment info, or are you just storing it for later use without taking payment at that time?
No initial payment. We can also collect it the first time they want to purchase something. The point is just for us to have it stored so they don't need to enter it each time
Stripe supports that functionality across a variety of surfaces/products. I recommend looking at Stripe Checkout first: https://stripe.com/docs/payments/checkout
You can create a Checkout Session in setup mode which will let you collect payment details for later use: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-mode
Then you can create Payment Intents to charge the Customer and their saved Payment Method: https://stripe.com/docs/api/payment_intents/create#create_payment_intent-payment_method
Oh cool. so customers would see the checkout page the first time, we'd save their card using "setup", then we can create a payment intent for every purchase thereafter without them going to the original checkout page?
Correct.
Perfect. Thanks a lot @delicate tinsel !