#taviksha-akar_reset-billing-anchor

1 messages ยท Page 1 of 1 (latest)

torn nebulaBOT
#

๐Ÿ‘‹ 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.

chrome thicket
#

Can you please share more details about what you want to achieve exactly ?

ashen birch
#

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

chrome thicket
#

What Api are you using exactly ?

ashen birch
#

$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

torn nebulaBOT
ashen birch
#

can you please help

chrome thicket
#

Is this what you are looking for ?

torn nebulaBOT
#

taviksha-akar_reset-billing-anchor

ashen birch
#

updating a schedule subscription and upcoming invoice api

#

what to use in these?

chrome thicket
#

However there is other dates that you can set in order to simulate a changes (.e.g cancel_at, resume_at, proration_date...)

ashen birch
#

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?

topaz turret
#

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.