#dorian6730_api
1 messages ¡ Page 1 of 1 (latest)
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.
- dorian_subscription-invoice, 1 hour ago, 63 messages
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1248420202547515412
đ Have more to share? Add details, code, screenshots, videos, etc. below.
Hi there! Sorry for the delay
np
Actually, the first invoice was created for today, June 6 - June 30
Oh I see
I guess the period is correct yes
When will that first invoice is actually be charged?
You can backdate a Subscription and combine this with billing_cycle_anchor to create a Subscription today for the billing period June 1 - June 30: https://docs.stripe.com/api/subscriptions/create#create_subscription-backdate_start_date
OK. I dont wanit to be charged until June 30 though
Since you used charge_automatically and passed a customer and PaymentMethod, the Invoice was charged today
Ah ok
What do I need to change for it to be charged at the end of the invoice period?
I dont wanit to be charged until June 30 though
Can you share more about your reasoning for this?
We have a business model where our customers set up subsidies for their employees to be paid at the end of the current interval. Jus tlike payroll.
SO they are setting up a monthly set of subsidies to be paid at the end fo th current month, and then at the end of each month thereafter
Does that make sense?
Not quite sure I follow. So your customers are paying you a flat rate per month for the service you offer?
We facilitate a business paying their employees a periodic amount into their accouunt with us, which their employess use in turn to purcahse insurance proiducrs thoughr us. We sit between the employer and employees. The employer sets up a monthly amount that they want to pay to their emplopyees. So yes, I suppose they are paying us a flat rate per month.
They can make changes during the month though and we want to charge them at the end of the month
When the do the initial setup I will create the sub, and then allow them to modify it during the month
What kinds of changes are they making during the month?
In Stripe language, they could be adjusting the quantity of an item on a sub or adding or removing items
The reason I ask is because the only pricing model that allows for billing in arrears on Stripe is usage-based billing. An invoice is generated at the end of the billing cycle for all the usage recorded in the period
I see. In that case, no, it's not possible to invoice in arrears for these kinds of changes. Any changes made to the Subscription will be for the next billing period's invoice
OK. Well I guess we can just position it as being for the next period, no worries, thanks. Can I at least delay the first invoice charge until a specified future date?
Kind of. You can use Schedules to create a Subscription on a future date: https://docs.stripe.com/billing/subscriptions/subscription-schedules/use-cases#start-subscription-future
This is quite literal though. A Subscription object will not exist until the start_date value
OK thanks. I will play around with it.