#sambp_best-practices

1 messages ยท Page 1 of 1 (latest)

weak fieldBOT
#

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

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

zenith geodeBOT
red patio
#

๐Ÿ‘‹ happy to help

#

if the billing_cycle is the same you can add multiple items to the same subscription

wispy coyote
#

Hi tarzan!
The billing cycle is the same, end of the month.

But if I add multiple items to one subscription, is it still possible to define different runtimes for each item?

red patio
#

what do you mean by runtimes?

wispy coyote
#

The cancellation period

red patio
#

you can use subscription schedules to manage phases if you want yes for sure

wispy coyote
#

If a customer orders one of our items, then each item starts with a two-year minimal subscription period. I have to keep track of those individually.

#

Okay, that sounds interesting, I will have a look.

weak fieldBOT
wispy coyote
#

I found that in the docs: "Creates a new subscription schedule object. Each customer can have up to 500 active or scheduled subscriptions."
Is it a hard limit? If I understoof the concept correct, then I need one schedule/phase for each item. EAch of our customers has thousand of those.

mild tapir
#

A schedule would map 1:1 with a subscription

#

What is the problem you're actually trying to solve here?

wispy coyote
#

Yeah pretty sure that the periods arent a solution for my problem.

We have a customer. He orders each week 100 IOT devices. Each device gets a monthly fee/subscription with a minimal runtime of two years. I wonna send just one single invoice/payment at the end of month per customer. A customer can have up to 10.000 active devices/subscriptions.

mild tapir
#

Yeah you can't really track different billing periods/dates under a single subscription

wispy coyote
#

Got it. I would have to do that on our side. Stripe would just help to generate the monthly invoice then, right?

mild tapir
#

In theory you can add the all the items to a single subscription that share the same billing date/period

#

Then deal with proration as/when you add items mid billing period

wispy coyote
#

Okay thx for the clarification!

mild tapir
#

FWIW, there is a limit on the # of items per subscription that you'll likely hit