#yoann_best-practices
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1242955211321118841
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
You would want to use Setup Intents via the Payment Element in order to set the payment method up for future use in this case: https://docs.stripe.com/payments/save-and-reuse?platform=web&ui=elements
This allows you to create the Subscription/Invoice either before or after they submit their payment method details.
Thank you for taking the time, much appreciated!
We've been historically doing this and we recently had fraudulent experiences. We've contacted our support repo at Stripe and they advised us to switch to pre-auth payment intent. So we did to fully validate the credit card provided by the customer.
Using a pre-auth payment intent: can I, once the amount is successfully pre-auth, attach the payment intent back to a subscription we manually create and capture the pre-auth funds to pay for the subscription?
Unfortunately not. Payment Intents created outside of a Subscription can't be associated with the Subscription.
Also, if you have a dedicated Stripe POC, you might want to work with them specifically. They can get ahold of our team internally and potentially offer solutions that we don't give via this channel (e.g. gated features, betas, etc.)
I see, I'll definitely ask them for sure. I like chatting with you guys because I can quickly get an answer for technical questions ๐
Fair enough! And yeah, that's usually our wheelhouse, but when it comes to something nuanced where you already got suggestions from your POC, it's often better to work directly with them.
Sounds good, I'll reach out to them directly! ๐
Thank you!
Sure thing!