#rodney_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/1385005934576799884
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Are you using Stripe's Subscription to charge their usage on regular basis? Or are you saving customer's payment method and charge to it when needed?
The latter. Ideally the flow would be a checkout session which creates both a payment intent and setup intent so we can immediately process the payment for the selected amount, and later charge the payment method for refills while the user is off session
Thanks for sharing! I'd recommend using Checkout Session with payment mode and "payment_intent_data[setup_future_usage]"=off_session. This will allow the payment method to be saved while charging to the customer. More details can be found here: https://docs.stripe.com/payments/checkout/save-during-payment?payment-ui=stripe-hosted#save-payment-methods-to-charge-them-off-session