#RON WAFFLE
1 messages · Page 1 of 1 (latest)
is it billing_cycle_anchor?
One way I can think of is to provide free trial until 120th days. For the one time charge of $10, you may add one time invoice item with add_invoice_items parameter for extra charge in subscription's first invoice
I just want to charge immediately like normal behaviour
but the 2nd payment would be 1 month after a date I set
sorry If I'm being confusing, I basically want to set when the 2nd payment will be taken and the billing cycle to continue
so if it's a monthly plan. Subscribe + charge immediately for first cycle, then set the date which all subsequent payments will start after that
Ah I see! If you wish to set the billing cycle date (such as 1st of the month), then billing_cycle_anchor is the right parameter to be used. You may refer to the guide here: https://stripe.com/docs/billing/subscriptions/billing-cycle
but wouldn't that be for the first invoice? i.e would it charge immediately then set the billing cycle anchor
or does it not charge until it reaches that date
with billing_cycle_anchor , the first invoice will be charged immediately, then set the billing_cycle_anchor for the next invoice
perfect thanks for the help
Wait I'm getting an error
"billing_cycle_anchor cannot be later than next natural billing date (1684464549) for plan"
Can you share the request ID (req_xxx) where you faced the error? Here’s how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request