#anastasiia_best-practices
1 messages ¡ Page 1 of 1 (latest)
đ 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.
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)
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?
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)
You can do that, but that only applies to the initial invoice
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?
Yes, you'd take the in_xxx and use this endpoint to add the item(s) you need: https://docs.stripe.com/api/invoiceitems/create
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
OK, I get it, thank you very much!
No problem, glad I could help!