#hanh-le_api

1 messages · Page 1 of 1 (latest)

stone wingBOT
#

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

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

sharp bramble
#

Hi there, as the error message explained, this request wasn't successful because the "now" timestamp (1740372162) is before the trial end (1740803375)

verbal bridge
#

Hi, sorry some information were not included in the form
I need to create new subscriptions with 2 days of trial and billing start on 1st of every month
I created those subscription with combination of trial_end and billing_cycle_anchor_config according to Stripe document of https://docs.stripe.com/billing/subscriptions/trials#combine-trial-anchor
For example:

  • Created at 26th Feb, trial ends on 28th Feb and bill on 1st of March
    Then I need to change the trial from 28th Feb to 3rd March, and since it will pass 1st March, I need to create a proration invoice when trial end and bill the next on 1st of April
    However I can not do that since the API only accept “now” or “unchanged” for billing_cycle_anchor update

Delay payments on active subscriptions using trial periods.

sharp bramble
#

Hmm, on a second thought, subscription schedule won't work in your case either.

#

You might want to cancel the subscription and create a new one with 1st April as the billing_cycle_anchor

verbal bridge
#

See your point, the schedule really doesn't match my business requirement, will check on the cancel one. Thanks alot