#jay492
1 messages · Page 1 of 1 (latest)
Stripe supports usage-based billing for the subscription: https://stripe.com/docs/billing/subscriptions/usage-based
wait, i think i remember you. You tried to help me out like a month ago. I really appreciate. I got another server for node.js and managed to make stripe page open for customers!! Thank you for a lot
Where can i find the source code for this?
The docs below provide example code, but we don't have full source code for this:
- Create usage-based pricing: https://stripe.com/docs/products-prices/pricing-models#usage-based-pricing
- Usage-based subscription and report usage: https://stripe.com/docs/billing/subscriptions/usage-based
also, what happens customer start the service on 31st and we ask for monthly payment. Does stripe ask for autopayment on the 30th? or the 1st of the next month?
From https://stripe.com/docs/billing/subscriptions/billing-cycle:
If a month doesn’t have the anchor day, the subscription will be billed on the last day of the month. For example, a subscription starting on January 31 bills on February 28 (or February 29 in a leap year), then March 31, April 30, and so on.