#mahendra_api

1 messages ¡ Page 1 of 1 (latest)

shrewd grottoBOT
#

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

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

drifting masonBOT
silent flicker
#

Hello! Looking, give me a few minutes...

rapid pewter
#

sure

#

And this is test payment and done through test clock

silent flicker
rapid pewter
#

but I have fix 3 months subscription how can I setup this on subscription creation phase becuase I use stripe prebuild checkout page

#

and why first time it take 2.61 euro from customer even subscription is not started

silent flicker
#

That way the Subscription will cancel at the end of the current period and bill for the full period instead of only part of it.

rapid pewter
#

ok

#

and what about the first money that cut from customer account 2.61 euro

silent flicker
#

It's because you set billing_cycle_anchor when you created the Checkout Session. The amount charged initially is for the time between when the Subscription starts and when the billing cycle anchor is set, which in this case was only a small portion of time, so only a small amount was charged.

rapid pewter
#

ok so how can I setup stripe future subscription through prebuild checkout session.

Because I have use case where I have to book for future booking and I want to take customer payment details and setup subscription schedule for that particular date. How can I do this with batter approach

silent flicker
#

How much time is there between when you take payment info and when you actually start charging?

rapid pewter
#

there is no time limit It could be 1 month or 1 year. Because we offer future booking

silent flicker
#

Then, later, you can create a Subscription using the saved Payment Method.

rapid pewter
#

ok thanks