#dai
1 messages · Page 1 of 1 (latest)
- diff: example guide covers single payment
- whereas we create a subscription (reoccurring payments)
- diff: the only backend implementation is an endpoint for setting up payment intents
- diff: the guide calls for
stripe.confirmPaymentto submit checkout action- whereas we call our own backend endpoint(s)
- diff: guide calls for
paymentIntents.create- whereas we call
setupIntents.create
- whereas we call
Steps that occur during our checkout submit
- Create
setupIntent - Validate captcha
- Create token representing the payment element input
- Update the
customerand attach that payment method viasourcewith the token
- Update the
- Update the
customer's billing information (address,country, etc) - Create the
subscriptionand relevant data models on our side corresponding to that subscription
Seems like between guide and our implementation - the expectations are different.
At a high level - we'd like to implement a on-session checkout that creates a subscription for reoccurring payments. This checkout is looking to accept 3DS payments
Recommend just following this guide: https://stripe.com/docs/billing/subscriptions/build-subscriptions?ui=elements&element=payment
It handles 3ds
woah this guide appears on the nose! 🙌 will have to review
I'll have to take some time to read and review for what this means for my team - is the suggestion on this discord to open a new thread or could we keep this open for some async time?
We close threads after a period of inactivity, so recommend you just return with a new thread in the main channel
understood 🫡 - appreciate the quick and helpful response thus far!