#cdric-chevillard_subscription-billing-anchor

1 messages · Page 1 of 1 (latest)

steady nexusBOT
#

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

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

merry epoch
#

If you want to set the billing cycle to renew on a specific date via Checkout, use subscription_data[billing_cycle_anchor] as shown there

#

If you want to charge the full amount without proration, additionally specify subscription_data[proration_behavior]=none as shown.

near umbra
#

it's 0,00€... i want 130€ now and 130€ 01/01/2025

merry epoch
#

Oh, oops

#

Yes, that seems to be the behaviour:

Similar to a free trial, the initial period up to the billing cycle anchor is free. Unlike a trial, no 0 USD invoice is generated. Customers receive an invoice with the full subscription amount on the billing cycle anchor date.

near umbra
#

i try to add : 'trial_period_days' => 0,

but not working with 'billing_cycle_anchor'

steady nexusBOT
merry epoch
#

In that case, do not specify either of these, just start the subscription without it and then you need to use a schedule to revise the billing cycle anchor for a future date using a subscription schedule after it is created

near umbra
#

ok i will try this