#pob-subscriptions-interval

1 messages · Page 1 of 1 (latest)

worn holly
#

Hey @heavy mesa Unfortunately we have no way to support multiple intervals today in our API and it's not something we plan to support in the near future at least.
This means the only way is to build a lot of this yourself.

What I would do personally is have a $0 monthly Price that is mostly used for the "cycle" to happen every month.
Each month, I would listen to invoice.created event for the new cycle and then I would decide if I need anything paid this cycle. For every Product/Price I need paid, I'd add an InvoiceItem to that Invoice so that it groups

#

In this flow, you get say Product A monthly so each month you add $9, every year you gert product B so once a year on the 12th invoice you add an InvoiceItem for Product B, etc.

#

It's a bit complex and you only do this when they mixup the cycles

heavy mesa
#

Okay, thanks for the quick response! I will think about that. If I have other questions, I simply respond to this thread?

worn holly
#

Yes though we archive the threads after a while (lots of people asking questions) but you can just ask again in #dev-help after that if the thread is closed!