#timothy_api

1 messages ยท Page 1 of 1 (latest)

solemn knollBOT
sage forgeBOT
#

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.

solemn knollBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

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

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

lavish rain
#

๐Ÿ‘‹ happy to help

night slate
#

After I add a subscription item, in the upcoming invoice, I have a remaining time on the item and an entry for the item, so for the same item I have 2 invoice lines. why?

lavish rain
#

would you mind sharing the request ID?

solemn knollBOT
night slate
#

req_syh5IYP8MN08Fb

clear flicker
#

Hey! Taking over for my colleague. Let me catch up.

#

in the upcoming invoice, I have a remaining time on the item and an entry for the item, so for the same item I have 2 invoice lines. why?
That's expected, the upcoming invoice endpoint display the next month and not the current month's invoice, so the prorated item for the current month and an additional item for the next month.

night slate
#

But my total should be $35 = 30 (first main subscrption) + 5 (item)

#

But the total is $40. I only have the base subscription + 1 additional item.

#

It is adding the Monthly (30) + Additional Category (5) + Remaining time on Additional Category (5) after 25 Jun 2024 = 40

#

is it because the 1st month's Monthly has been charged, but the item has not yet. So it will be charged in the next invoice?

clear flicker
#

Yes. Upcoming invoice is the next month's invoice, so it includes the subscription item for the upcoming month(the regular recurring item), plus any extra items like proration

night slate
#

ok, thanks

clear flicker
#

Happy to help!

night slate
#

I try to change an item's schedule. I want to decrease the item subscription from 2 to 1. It is not doing anything. Please check.
req_iajhCxVa5PMyq9

clear flicker
#

This request Id, is for creating the Scheduler, could you please share the requestId of the update API call ?

solemn knollBOT
night slate
#

Ok, maybe that is the problem.
I have a Monthly + 2 x Additional Category. Then I want to delete 1 Additional Category but keeping it active until the next billing date. I thought I need to use this API to change the schedule.
https://api.stripe.com/v1/subscription_schedules
Phase 0 only contains the Monthly.
Phase 1 contains Monthly + Additional Category with quantity decremented by the number of "deletion".

half girder
solemn knollBOT
night slate
half girder
#

Did you look at the API? What exactly are you trying to do?

night slate
#

I have a Monthly + 2 x Additional Category. Then I want to delete 1 Additional Category but keeping it active until the next billing date.

#

I was told here before to change the schedule.

half girder
#

I think you probably just need to remove the start_date parameter from your update call then

night slate
#

I am doing in Bubble.

#

Phase 0 contains the Monthly (qty 1) + Additional Category (qty 2)
Phase 1 contains Monthly (qty 1) + Additional Category with quantity decremented by the number of "deletion"
In the example Additional Category qty (2) => (1)

half girder
#

I don't understand what you're trying to update then? The existing schedule already has those phases?

#

So, what's not working as you need?

night slate
#

hmmm... Let me rerun the testing again.

half girder
#

What is 'testing' exactly? What do you expect to happen that isn't happening?

night slate
#

I was doing a few times (including your suggestion) so i need to see which API call actually make the changes.

half girder
#

Well, the change is scheduled to happen on July 25 2024 as per your API requests. There's no API to call beyond that โ€“ it'll automatically downgrade