#kbb
1 messages · Page 1 of 1 (latest)
hi! hmm. I suppose that's possible but really complex, you might be able to do it using Subscription Schedules
I think an option is
- start the subscription normally on 18th Jan, it charges the full upcoming month
- sometime on the 18th Feb before the current cycle ends, calculate proration yourself and charge for that manually in a one off invoice.
- use a trial period to push the next billing date to 1st Feb
There isn't really any in-built option
i see okay
on a related note, if customer signs on 18th feb, there a way to charge $4.5 as the prorated, then go on to renew at $10 per month starting on 1st mar?
could you point out where i should set the $4.5?
create a subscription with a billing cycle anchor in the future and a prorated invoice until the anchor takes effect
well in this case you don't set the amount, you set proration_behavior and we calculate it
what's billing_cycle_anchor? start date of proration?
did u mean 1st mar (and not feb)?
don't mind can we use this example here https://stripe.com/docs/billing/subscriptions/trials#combine-trial-anchor
I suppose I did yes, I misread
ok
let's say i wan to offer a 3 month free trial
- sign up today (18th Jan), so free from 18th Jan til 17th Apr (3 months)
trial_end=18th Apr, means start of prorated periodbilling_cycle_anchor=1st May, end of prorated period + start of subscription/renewal
is my interpretation of the meanings correct?
I think it's easiest to test it in test mode, you can look at the Upcoming Invoice to see what would happen in terms of proration
okay thanks
what's the difference between checkout and subscriptions? or are they just abstractions but calling the same API at the backend?
Checkout is a frontend, a hosted page for the customer to enter their details, and it creates a Subscription object in the API(after it's created you use the /v1/subscriptions API to manage it)
the alternative is building your own custom payment page using our Elements components and directly calling the /v1/subscriptions API
i seee