#ronald_api

1 messages ยท Page 1 of 1 (latest)

modern lanceBOT
#

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

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

serene spoke
#

hey there, can you say more? What are you trying to do, and whats not working like you expect?

vivid stratus
#

I need to make recurring charges like a subscription where I can vary the charge amounts per period.

serene spoke
#

DO you know these amounts ahead of time, or are they reactive to some input that happens over time?

#

and what happens after december here in this example?

vivid stratus
#

all monthly amounts are known in advance

#

After December the collection cycle ends

#

But we can cancel the subscription through our system automatically, completing the cycle, so we wouldn't have any problems.

serene spoke
#

In that case subscription schedules sounds like a good fit

#

you can define phases with different prices that transition automatically after a specified number of months (iterations) and you can optionally set them to automatically cancel at the end

#

This sounds kind of like an installment payment plan, or at least shaped that way

vivid stratus
#

exactly

serene spoke
#

Check out this example, you can set the price amount & number of months, across multiple phases, then cancel the subscription when fully collected

#

What server language do you use?

vivid stratus
#

c# .net

serene spoke
#

adjust the phases as needed

vivid stratus
#

OK thanks