#Roopa
1 messages · Page 1 of 1 (latest)
Hi 👋
I'm sorry but I'm really confused what kind of billing cycle you are attempting to create. How often should your customer receive an invioce?
The maximum allowable billing cycle for Stripe prices is 1 year
yes, but one of your colleague suggested me below work around.
"You can have a yearly price, and then every other year apply a negative amount invoice item for the customer, so they are credited the full value of the invoice every other year: "
When I follow it, it generates the invoice for every year which is bit confusing for users.
But every other year is a $0 invoice, correct?
Unfortunately I think any created Invoice will show up there. The work-around suggested achieves the end result as far as payment are concerned. Unfortunately I do not think there is a way around the annual invoices though.
If I do invoice as 'void' , does it still it shows up in the customer portal?
That I' am not sure of.
ok. I will try that. Which is the best event to update invoice as void.
I tried updating it is invoice-finalized event but it is not working
Oh, I just tested this and the Voided invoices do not show up in the Invoice History of the Customer Portal
That's great. Programmatically can you please suggest me at what stage we have to make invoice as void?
You cannot Update the Invoice when it is finalized but you can Void it.
In fact that event is the most appropriate one to listen and respond to
But you would make this API call: https://stripe.com/docs/api/invoices/void rather than an Update call
yes, I tried using the same api call with in invoice-finalized webhook event, but it did not work.
Invoice paid event is triggering before invoice-finalized event.
Invoice paid will be automatic for $0 invoices unfortunately.