#zachdini-subscription-invoices

1 messages · Page 1 of 1 (latest)

modern lynx
#

Hey there!

#

Can you share a specific example?

#

This would result in a credit for the customer because they were getting prorated for their subscription, even though invoice X hasn't been paid yet.
Yep, this is expected although a little confusing for merchants. The system basically 'assumes' that all invoices will be paid at some point and such the proration credit is applied.

sturdy forum
#

Hey, thanks for the reply! When you ask for a specific example, do you mean a link to my customer in the dashboard? Or what?

modern lynx
#

Yeah, or a sub_xxx

sturdy forum
#

cus_HGCdfMULAOCfjL

The log req_jgN57dWOPNmG1i is where the customer updated their subscription and we passed proration_behavior: 'none'.

The outstanding invoice that eventually got paid is in_0L0BoLoomZdVFM25iLnrcIx2

modern lynx
#

What you're describing is expected behaviour really, there's no 'bug'. You need to manage the invoices independently because, as I said, the subscription defaults to expecting them both to be paid

sturdy forum
#

Is there a way to say "If a customer updates their subscription while an invoice is being retried, ignore the first invoice"?

modern lynx
#

You can't, no. Because as I said the subscription just assumes they're both still due, each invoice has no context of each other really.

#

You'd need to void it in that case, the past_due status would be temporary until the newer invoice was paid.

sturdy forum
#

Okay great, thank you