#brandon_20831

1 messages ยท Page 1 of 1 (latest)

burnt shaleBOT
gloomy quarry
#

Hello ๐Ÿ‘‹
Can you share the subscription/invoice ID?

#

I'm not sure of the expected behavior but can look around

north needle
#

Sure, thank you - I also tried to look in the docs but wasn't able to find anything

Subscription: sub_IHIHALncej5ctL
Invoice: in_0Odz7g3MFIk84T3nlogHf9Ue

gloomy quarry
#

double checking though

dark ferry
#

๐Ÿ‘‹ yes this is expected. Are you thinking it should move to canceled?

north needle
#

Good find, thanks - Seems like you're right. (And thanks for the confirmation bismarck)

#

We were actually expecting it to move to active

dark ferry
#

Ah, yeah that would require the most recent Invoice being paid

#

So you would "mark as paid" instead of voiding

north needle
#

Got it, our team had been voiding to mark that it wasn't actually paid and expecting that voiding it out would let it go back to active until the next invoice was handled. I think we're unable to actually mark it as paid if it hasn't been for financial reporting purposes

dark ferry
#

I see

north needle
#

I don't think it's a huge deal, I'm sure there's a workaround - just was slightly surprised and wanted to check

dark ferry
#

Think the only workaround would be to generate a $0 Invoice for that Subscription after you void the last Invoice.

#

I think that would move it to active

#

Otherwise you would need to wait for the next Invoice when it renews

north needle
#

Makes sense, thanks. I think one other alternative is we could listen for invoice.voided events and manage subscription status manually from there if we really wanted to

dark ferry
#

Yep for sure

#

If you are using your own database then that's the cleanest way

north needle
#

Yeah we are, so I'll raise that as an option if we want that subscription lifecycle

#

Thanks for the confirmation and help!

dark ferry
#

Sure thing

burnt shaleBOT
north needle
#

Sorry one more question to double check my understanding - The customer has had a successful paid invoice for a subscription update since the voided invoice, but since that hasn't changed the status I'm guessing it's based off the recurring invoice being paid?

dark ferry
#

It is the most recently finalized Invoice

#

Not the most recently paid

#

So that Invoice that was paid was older than the most recent

#

So the thought is that that was for an "overdue" payment

#

Not for the current period

#

So the Sub is still "past due" since there hasn't been a payment for this period (based on the most recent Invoice)

north needle
#

Gotcha gotcha, ok yes that makes sense - thanks for pointing out that the most recent payment was from a retry