#adityalystlocdeveloper_33428
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.
- adityalystlocdeveloper_33428, 2 days ago, 7 messages
- adityalystlocdeveloper_33428, 2 days ago, 23 messages
- adityalystlocdeveloper_33428, 3 days ago, 5 messages
- adityalystlocdeveloper_33428, 3 days ago, 19 messages
- adityalystlocdeveloper_33428, 5 days ago, 37 messages
- adityalystlocdeveloper_33428, 5 days ago, 21 messages
Here's the guide to set the billing date with billing_cycle_anchor parameter: https://stripe.com/docs/billing/subscriptions/billing-cycle
yes but how this will calculate 1 month
Have you checked the guide above? It explains how billing_cycle_anchor works
If you want a subscription to always bill on a particular date such as the first of the month, set the billing cycle anchor to that date. When a customer subscribes on a date other than the anchor, Stripe automatically creates a prorated invoice to bill for the period of days between the subscription creation date and the billing cycle anchor date.
can you explain with example i read the documenation
Which part specifically that you don't understand, so that I can explain in a more targeted example?
if i have fixed price in metered plan then how the amount will 15 days
If the start date of the subscription is on 15 Feb and set the billing cycle anchor to 1 Mar, your system should submit the meter usage before the end of the next billing cycle which is 1 Mar. On 1 Mar, Stripe will create the invoice for the usage from 15 Feb to 1 Mar. In the future billing cycles, Stripe will create the new invoice every 1st of the month for the usage reported for the previous month.
yes but see my scenrio is i am charging according to number of hits done by user.
so i have for first 25000 hits i have fixed price which is 99$ and after that i have per hit 0.01 dollar means its like 25500 then 500*0.02 but if customer activated subscription of 15 feb and i set billing anchor to 1st day of month then how fixed amount will behave beacuse its fixed amount for whole month not 15 days
Subscription doesn't support proration on the metered usage. If it hit first 25000 hits i have fixed price which is $99, customer wil be charged $99 on 1 Mar
ok
any shortcut to set the billing anchor at starting of next month
any inbuild value
like now will set date for now
You can do so by setting billing_cycle_anchor with the epoch time (unix) when creating the subscription
is it possible to charge flat rate at the end of month
Hi @spiral sinew I'm taking over this thread
It's entirely up to you, your customers will be charged based on what you've reported
i want to charge a fixed prorate charge at the end of the day is it pssoble
means let me explain you scenario
i have metred usages based plan their , i have 99$ fixed and 0.02 per unit
but i want to setup billing cycle 1st day of month
if customer subscribed on 25 feb
then bill will genrated on 1st march their i want to reduced fixed charge beacuse customer not used plan for a month
so bill should be for 6 days + units i reported to stripe
99$ is for 30 days not for 6 days
this price should adjusted according to days
https://stripe.com/docs/billing/subscriptions/usage-based/pricing-models#flat-rate-metered-usage is this your business model?
correct but both price should be taken at end of billing cycle
means prorated charge and unit charge at 1st march
No, that's not how Stripe Billing works.
Prorations are created only for licensed (per-seat) subscriptions because they’re billed at the start of each billing period. see https://stripe.com/docs/billing/subscriptions/prorations
is their any way to achieve this at the end of month