#arisawa_best-practices

1 messages ¡ Page 1 of 1 (latest)

past nightBOT
#

👋 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/1224670891452141579

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

lilac kindleBOT
shrewd aspen
#

hi there!

grave parcel
#

Thanks!

shrewd aspen
#

I'm not sure I understand your question. what exactly are you trying to do and what is the issue?

grave parcel
#

For example, if an user bills $5 at the end of this month and $10 at the end of next month, can we use the user's credit card to automatically settle the bill?

shrewd aspen
#

sure. first you save the customer's payment method with Stripe, then you charge the payment method by how much you need.

grave parcel
#

Can it be completed server-side only?

shrewd aspen
#

yes. however the payment can always fail, for example because 3DS is requested. in this case you'll need to ask the user to come online to complete the 3DS flow.

grave parcel
#

I see!
In server-side, what do I use API? PaymentIntent?

shrewd aspen
grave parcel
#

Thanks. I'm reading

shrewd aspen
#

yes you can charge customers off_session.