#Roopa

1 messages · Page 1 of 1 (latest)

pulsar etherBOT
whole trail
#

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?

radiant vigil
#

I want to create 2 year subscription

#

where customer will be charged every 2 year.

whole trail
#

The maximum allowable billing cycle for Stripe prices is 1 year

radiant vigil
#

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.

whole trail
#

But every other year is a $0 invoice, correct?

radiant vigil
#

yes.

#

Is it possible to show only paid invoices in the customer portal?

whole trail
#

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.

radiant vigil
#

If I do invoice as 'void' , does it still it shows up in the customer portal?

whole trail
#

That I' am not sure of.

radiant vigil
#

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

whole trail
#

Oh, I just tested this and the Voided invoices do not show up in the Invoice History of the Customer Portal

radiant vigil
#

That's great. Programmatically can you please suggest me at what stage we have to make invoice as void?

whole trail
#

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

radiant vigil
#

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.

whole trail
#

Invoice paid will be automatic for $0 invoices unfortunately.

radiant vigil
#

ok.

#

Thank you for that.