#danielncr.
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- danielncr., 33 minutes ago, 9 messages
How can I help?
Hi I'm migrating subscriptions (donations) from a customer's previous system. Some of their memberships are paid far in advance. Our system uses the presense of an active Subscription to tell if someone is a member or not.
I tried to create Subscriptions with a future date using billing_cycle_anchor and that works fine if the next payment date is within the next year. But it won't let me me create them if that date is more than a year away.
Through a previous question your collegue suggested I use a Subscription Schedule. Which I just tried using and I created one successfully. But the problem is that the Subscription itself won't exist/be active until that future date. And I need the Subscription to be active now to show they are a member now.
So, I guess maybe I need to do a free trial? Create a subscription but make it not require a payment?
As long as I can set proration_behavior=none?
Trying right now.
I guess not. I still get the error about the billing cycle anchor being too far away:
stripe.error.InvalidRequestError: Request req_8JGh7dXBLc5dlz: billing_cycle_anchor cannot be later than next natural billing date (1732225169) for plan
you don't need to set a billing cycle anchor though right?
Specifying backdate_start_date for a yearly subscription should take care of it
I need to tell it at what date to start billing though and that needs to be with billing cycle anchor, right?
For this example I need the first charge for the Subscription to be 2024-11-30 00:30:00 (1732948200)
But I need the Subscription to be active starting as soon as I create the Subscription.
you sent backdate_start_date: "1700516369" meaning 2023-11-20 21:39:29 UTC
your billing cycle anchor is 2024-11-30 06:30:00
for a yearly product, that doesn't make sense though right?
like what happens to the 10 days difference?
The customer has already paid up through 2024-11-30. They weren't on a strict year with their previous system I guess, but they will be with us.
And we can't charge them before that date.
Gotcha. One option I can think of is you create a subscription schedule with three phases
https://stripe.com/docs/billing/subscriptions/subscription-schedules/use-cases#backdating-subscription
First phase for the backdated subscription
Second phase for 10 trial days
Third phase for the price you want to charge on 2024-11-30
For the first price, you can subscribe them to $0 price
Could that be abbreviated to just the free trial part and the third phase? Why do I need the backdated one?
you need the subscription to exist right?
yes, starting from whenever I finish this import, so the free trial should cover that, no?
I mean yeah that should work too
I've got some of these that stretch out for a couple of years, but I can just extend that free trial phase for as long as necessary, right?
Is there a difference between a $0 phase and a free trial phase?
not really, but if you test it out you might find some edge cases.
I haven't tested it myself so can't say for sure
I've got some of these that stretch out for a couple of years, but I can just extend that free trial phase for as long as necessary, right?
I'd think so yeah
okay, this sounds like a good approach. Thanks! I'll try it out and come back here if I run into anything.