#joshglazebrook
1 messages · Page 1 of 1 (latest)
I think this might be a good case for a subscription schedule. You could specify to start your subscription with the metered billing item and then add the flat fee item after the first cycle https://stripe.com/docs/billing/subscriptions/subscription-schedules
Hmm, would that allow for charging the setup fee today, create the subscription with the metered product, and fixed monthly product, collect metered usage over the next 30 days, and charge the fixed monthly fee on the next invoice (in 30 days combined with the metered usage)?
Ah gotcha, that could get you to have a subscription with no initial payment but it wouldn't include the setup fee in that first invoice by itself.
Trying to think of the best way to do this.
Also to be clear, I am guessing that you have tried putting both on the same subscription and that just means that the setup fee is charged upfront and the metered billing is charged at the end of the month?
I've tried adding them all on the subscription (setup fee + fixed monthly price + metered monthly price), but it defaults to charging them (adding them to the first generated invoice) immediately, where as I only want to charge the set up free up front, and start the other two at the end of the first billing cycle if that makes sense.
I want to charge setup fee upon subscription creation. Then bill this first periods fixed monthly price + metered usage at the end of the first billing period instead of up front.
So today you would pay setup fee. Let's say you incur 10 of the metered items over the next 30 days. In 30 days I want to invoice the fixed monthly price and for the 10 metered items.
Gotcha, the best workaround I can immediately think of would be to create the subscription with just the metered price, add one-off invoice items after the subscription is created, and then update your subscription to have all of the recurring prices that you need.
I think a subscription schedule could actually help here. There is an add_invoice_params parameter that lets you add invoice items to go on the next invoice https://stripe.com/docs/api/subscription_schedules/create#create_subscription_schedule-phases-add_invoice_items
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
So I think you can make a schedule, have the first phase just be metered with one-off invoice items, and then have the second phase switch to a phase with all the items you wanted to set up