#snackdex-prebilling-sub
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.
- snack-subscription-payment, 23 hours ago, 6 messages
- snackdex, 1 day ago, 22 messages
Hi ๐
You are right that if you make the subscription the way you are describing we will not charge the user for the full amount in the first invoice. It would be a prorated amount based on how much of the year is left
is there a way to do what i described with subscriptions?
You can test out passing proration_behavior='none' when you create the Subscription: https://stripe.com/docs/api/subscriptions/create#create_subscription-proration_behavior
unfortunately when i do that i don't get an invoice id
Yes I just wrote a test for this and I'm not seeing the invoice either
๐ is there a way to create an invoice with a subscription in the future and allow the user to pay it early? (idk if that makes sense)
Yes that makes sense. It is "pre-billing" and we don't currently support it but it is something that is being worked on. If you want to find out more about that I would recommend writing in to Support here: https://support.stripe.com/contact
currently, is there a way to do what i'm describing?
You mean charging the user the full yearly price with only 2 weeks left in the year?
And then charging the full amount at the start of next year
hmm so:
dec 14 2023 - dec 31 2024: the full amount
jan 1 2025- dec 31 2025: the full amount
so essentially giving them 2 weeks "free" but they pay for the year amount
and then the following following year they still pay the full year amount
Wait... so you're skipping the invoice on Jan 1 2024?
Ah no we don't have a way to support that flow AFAIK. That is precisely what the "pre-billing" approach is intended to address but we haven't completed it yet.
is there a way to that with subscription schedules?
like...the first "subscription" is from dec 14 2023 - dec 31 2024 and then jan 1 2025- dec 31 2025 is the next one?
Hmmm.... ๐ค
I'm not sure. It might be possible. Like if you collected all the funds this month and then created the entire next year as a "trial phase"
or even something more wild: i charge them an "item" and a subscription for a start date in the future?
I'm not sure what you mean by that.
You could add a one-off invoice item, is that what you are referring to?
yes
like an invoice item and then create a subscription with a date in the future?
What I would be concerned about there is whether or not we would still generate a new invoice on the 1st. You could mark it as paid_out_of_band for that first year but then you would need to intercept it before it's sent to the customer.
And using that approach you lose the tracking of the payment & the invoice. They are no longer related. That can make financial reporting difficult
ah i see what you mean i didn't even think of that
ok...what if i would do something like:
phase 1 of a subscription is from dec 14 2023 - dec 31 2024
and then i start phase 2 from jan 1 2025 yearly until they cancel?
Unfortunately our Sub schedule API will not let you create phases that have temporal gaps between them.
oh what do you mean by temporal gaps
Oh, right, I keep missing the change in year for the first phase
Honestly I think you could test it out using Test Clocks https://stripe.com/docs/billing/testing/test-clocks
But I suspect the first phase might generate 2 invoices
I'm not 100% on it though. Sometimes the easiest way to learn is to try it out.
Sure! Happy to do it ๐