#sugam1469_api

1 messages ¡ Page 1 of 1 (latest)

sand thicketBOT
#

👋 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/1242761999340015688

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

craggy badgeBOT
sand thicketBOT
magic niche
#

Hi
In that case you create a Subscription that starts at the 1st of the month using backdate

jolly basin
#

billing_cycle_anchor doesn't allow to create subscription in backdate

zenith tiger
#

What do you mean by "doesn't allow" exactly?

jolly basin
#

billing_cycle_anchor cannot be the timestamp of past date

zenith tiger
jolly basin
#

thank you it worked and is there any document to handle credit?

zenith tiger
#

Is this a separate question?

jolly basin
#

Yes

zenith tiger
#

What kind of credit?

jolly basin
#

Like if user subscribe in the middle of the month suppose in 20th may
We are charing the full amount i.e 300
As user has subscribed at 20th may he will have the 100 as credit ie (200 for 20 days and 100 credit).
And this credit amount should be reducted from the next billing date which I have set to the 1st date of next month>

#

In next billing cycle he need to pay (300 - his credit amount)

zenith tiger
#

Let me check...

#

If you just use billing_cycle_anchor, it will charge just for the prorated amount, this way you won't need to handle the credit.

jolly basin
#

the requirement is to handle credit so

zenith tiger