#anastasiia_best-practices

1 messages ¡ Page 1 of 1 (latest)

thorny latchBOT
#

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

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

gentle ledge
#

Monthly Subscription with Variable Additional Charges
Yes

Annual Subscription with Monthly Variable Charges
Not natively no as a subscription can only have one fixed 'interval' (e.g. annual or monthly)

limpid slate
#

Thank you for you response!
As for the first question, can I implement this by only passing the amount in the add_invoice_items field?

gentle ledge
#

To achieve the first you can manually add the required invoice items on a monthly cadence on receipt of invoice.created event before it's finalized (~1 hour)

gentle ledge
limpid slate
#

hm..
So, on the backend, I handle the invoice.created event and specify in this invoice the Price IDs that I want to be charged?

gentle ledge
limpid slate
#

OK, I get it, thank you very much!

gentle ledge
#

No problem, glad I could help!