#adityalystlocdeveloper_33428

1 messages · Page 1 of 1 (latest)

sharp hillBOT
#

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.

bitter iron
spiral sinew
#

yes but how this will calculate 1 month

bitter iron
#

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.

spiral sinew
#

can you explain with example i read the documenation

bitter iron
#

Which part specifically that you don't understand, so that I can explain in a more targeted example?

spiral sinew
#

if i have fixed price in metered plan then how the amount will 15 days

bitter iron
#

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.

spiral sinew
#

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

bitter iron
#

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

spiral sinew
#

ok

#

any shortcut to set the billing anchor at starting of next month

#

any inbuild value

#

like now will set date for now

bitter iron
#

You can do so by setting billing_cycle_anchor with the epoch time (unix) when creating the subscription

sharp hillBOT
spiral sinew
#

is it possible to charge flat rate at the end of month

molten pecan
#

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

spiral sinew
#

i want to charge a fixed prorate charge at the end of the day is it pssoble

molten pecan
#

What do you mean by a fixed prorated charge?

#

Do you have an example?

spiral sinew
#

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

molten pecan
spiral sinew
#

correct but both price should be taken at end of billing cycle

#

means prorated charge and unit charge at 1st march

molten pecan
#

No, that's not how Stripe Billing works.

spiral sinew
#

is their any way to achieve this at the end of month