Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I do something similar with stripe. I add two items to the subscription. A base unit that charges a fixed price up front and monthly thereafter. And usage based second item that bills based on usage minus the pre charged items. Usage based fires for the first time on their second charge.

If the user cancels their subscription, I run it through the next payment period for their usage based billing period and then cancel it.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: