#speedemin_code

1 messages ¡ Page 1 of 1 (latest)

wanton acornBOT
#

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

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

hollow smelt
#

Hello

#

Do you want/need the set up fee to be distinguished differently from the normal line item?

#

Like if it is the same amount it sounds like you really just want to start a Subscription for a specific Price

vivid sapphire
#

Not necessarily as long as they are charged the right amount immediately

#

Yeah, if we can start the subscription and not use the pro-rated amount for the first month's payment that would work

hollow smelt
#

Oh I see you are saying a Sub might start Jan 15th for $100 and then you want to charge on Feb 1st for $100 and have it renew the 1st of each month?

vivid sapphire
#

Yes

hollow smelt
#

Okay and you are trying to use Stripe Checkout here?

#

Or a custom flow?

#

Looks like Stripe Checkout based on the small snippet you shared above

vivid sapphire
hollow smelt
#

So the easiest thing to do in that case is to create a Checkout Session with a one-time Price and a recurring Price and a trial period until the 1st of the next month.

#

Or you can use subscription_data.trial_period_days if you prefer that