#lutonzo_api
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/1469225318920355932
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there, you can simply use subscription mode checkout session. Upon a successful checkout, Stripe will automatically create a subscription, and use the collected payment method as the default payment method for that subscription
Hi - thanks, I know but I want to avoid that though because I don't want to collect payment info initially for the subscription
So we separate into two steps (create Stripe sub with trial upon registration) and then payment is collected separately - just to clarify our goals here
Ok, so you basically want to collect the payment method later and set it as the default_payment_method for the subscription? What frontend interface do you use? Checkout or payment element?
Yep that's right! We've been using Checkout (setup mode so far)
OK, in that case you'll need to call update subscription API and set the newly collected payment method as the default_payment_method for the subscription.
Gotcha - thanks for the confirmation. That's what we suspected but just wasn't sure if there were any gotchas since docs didn't discuss the subscription case. Thanks!
No problem! Happy to help.