#eoghanobrien
1 messages · Page 1 of 1 (latest)
You would have to expand the latest invoice or use the api to list invoices by subscription
Really just recommend listening to get notified of this
What's the end goal though?
when we display info on a customer's active subscription, we have an edge case bug right now where the subscription exists but it's not active so we show a button to create a new subscription (instead of just paying the invoice to renew their existing subscription) we really only see this when the customer's payment fails but they intend to renew, they just forgot to update their card or something. We'd like to hide our button to create a new sub if we detect that they are in this "smart" payment month of retries when they have an invoice marked uncollectable.
also, when they pay for the new subscription, we set the customer default payment method with the most recent for the sub, then when the previously failed sub tries again within that month, it actually succeeds with the new customer payment method and the customer then has 2 active subs
It did, just not sure what data I would looks for in there to find this issue exactly