#prathyusha_code

1 messages ยท Page 1 of 1 (latest)

robust summitBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always 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/1390637329873633321

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

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.

restive laurel
#

๐Ÿ‘‹ happy to help

wispy bison
#

Hi tarzan

#

Hope my question is clear.

restive laurel
#

no not relly

#

would you mind giving me a concrete example?

wispy bison
#

for past month i need to create subscription which is recurring
like Jun 1- Jun 30 ,

On July 15th I need to finalise the invoice, as I can update the usage between 1-10 of July using meters.

restive laurel
#

today that's not possible

wispy bison
#

for current month, it should be charged on Aug 15.

but invoice is not considering the back date I gave

restive laurel
#

since we don't have the candences API yet

#

this will be available in the next few months

wispy bison
#

How can I achieve that now? any alternate solution?

#

i am using manual crons to make it auto advance false once invoice is created, and finalizing it on 15th.
but here in backdated case I am seeing wrong dates for the subscription irrespective of my requirement

#

also as soon as the invoice is created, with 0 its getting auto paid too

#

it should be dealyed till 15th, its not waiting till webhook process it explicitly like min. of 1 minute too

#

@restive laurel hope you got what I am trying to build

restive laurel
#

I'm not sure there is

#

today the billing_cycle is the same as the payment cycle

#

which means that you can't separate the 1-30 and 15-14

#

if you're not really in a hurry I suggest waiting for the cadence API to come in the next weeks/months

wispy bison
#

for last month usage , I need to charge current month 15, for current month usage , next month 15th it should charge etc.

#

you say thats not possible now?

restive laurel
#

I'm not sure I understand

#

do you mean you want to charge on a different date (on the 15th of the next month) based on the usage from the billing_cycle that is between 1-30?

wispy bison
#

right

restive laurel
#

actually you can do that, but this means that you need to manage your customer's subscription on your end, while creating the Stripe subscription with a billing_cycle_config on the 15th of the month

#

meaning that the subscription on Stripe's side would be betweeen the 15th and the 14th of next month

wispy bison
#

but the invoice is also listing those dates which is giving inconsistency b/w my requirement and stripe data, we will expose stripe invoicepdf to customer once they pay the amount

restive laurel
#

yes

#

and the only way to do what you're looking for is by using a new concept that we will introduce in the next weeks/months

wispy bison
#

fyi first invoice- which should be jun 1- jun 30

#

upcoming invoice
which should be Jul 1- 30

restive laurel
#

@wispy bison you set the billing_cycle_anchor config to be on the 15th

wispy bison
#

is there any tentative time by which new api will be available

#

but i gave start date, 1st Jun

restive laurel
#

but i gave start date, 1st Jun
that only affects the first billing_cycle

#

is there any tentative time by which new api will be available
I don't have that information

wispy bison
#

can you suggest whatbest i can do, billing cycle_anchor not accepting past timestamps

restive laurel
#

you can reach out https://support.stripe.com/?contact=true and tell them that you're interested in billing cadences