#taviksha-akar_reset-billing-anchor
1 messages ยท Page 1 of 1 (latest)
๐ 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/1300438240859394171
๐ 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.
- taviksha-akar_api, 3 days ago, 9 messages
- taviksha-akar_code, 6 days ago, 34 messages
Can you please share more details about what you want to achieve exactly ?
when updating the schedule subscription which is not active and is future or updatign a active subscription, which flag should I use to set Reset billing cycle which is shown in edit subscription phases with a checkbox in it
What Api are you using exactly ?
$this->stripe->invoices->upcoming([$data])
this api for upcoming invoice
and
$this->stripe->subscriptionSchedules->update($request->subscription_scheduled_id,$request->schedule_data);
$this->stripe->subscriptions->update($request->subscription_id,$request->schedule_data);
to update subscription schedule and subscription
can you please help
When you update the Subscription, you can pass the billing_cycle_anchor: now
https://docs.stripe.com/api/subscriptions/update#update_subscription-billing_cycle_anchor
Is this what you are looking for ?
taviksha-akar_reset-billing-anchor
For the upcoming API, it's a preview API, you can't reset the billing cycle.
https://docs.stripe.com/api/invoices/upcoming
However there is other dates that you can set in order to simulate a changes (.e.g cancel_at, resume_at, proration_date...)
I am talking about this. So the upcoming invoice amount changes on check/uncheck the reset checkbox. SO how do I reflect using upcoming invoice api on my page and in update api also
And sometimes this billing cycle details appears on edit subscription and sometimes not . So can you tell me the cases when they appears and when not.
So that i can create same page on my panel.
Sometimes it is showing two options under proration behaviour and sometimes does not show any option so how do I know when to add and when to remove these options?
Hi there ๐ jumping in as my teammate needed to step away. Bear with me a moment while I catch up.
I'm not familiar with exactly when the Stripe dashboard shows fields, that's not what my teammates and I specialize in within this forum.
I would need a bit to sift through the upcoming Invoice endpoint and see what paramters are best suited for replicating what you're seeing the dashboard do. But it might be faster if you try to locate the request the dashboard is making in the logs for your Stripe account and see how the structure of the request changes based on what options you select.
https://support.stripe.com/questions/finding-the-id-for-an-api-request#:~:text=Using the dashboard,the dashboard URL as well
You'll need to switch the log filters to look for GET requests if you try to do that.
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.