#cargodev_api

1 messages ¡ Page 1 of 1 (latest)

flint parcelBOT
#

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

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

worldly river
#

Yeah there is no such thing as a billing_cycle_anchor_config param. The error message tells you what's wrong

#

Param is really called billing_cycle_anchor

brave pendant
#

This is what we were looking at previously

does it not work for phases?

#

Do we have to calculate the 1st of each month ourselves and pass in?

#

Or is there a way stripe can handle that for us?

worldly river
#

You're looking at subscription docs

#

Not subscription schedule docs

#

Subscription schedules don't support that param

brave pendant
#

We understand that the subscription schedule docs are different

#

can you help us understand how we can calculate the first of each month using a subscription schedule?

worldly river
#

You'd need to calculate the timestamp in your code unfortunately

#

Since with subscription schedules you need to pass a timestamp to us for phase start and end

brave pendant
#

Can you help us understand why Stripe doesn't want to calculate the start date for their users? It would be a really helpful feature for the future if you all added it

#

Thanks for feedback

worldly river
#

It's just how it was built

#

We can add a feature request for this

#

But doesn't currently work like that

#

You need to pass in a timestamp explicitly

brave pendant
#

10-4

brave pendant
#

Is it possible to define the 2nd phase's start date?

#

The billing of the first phase isn't executing as expected

worldly river
#

No second phase starts at first phase end

#

So I guess yeah