#bdanforth
1 messages · Page 1 of 1 (latest)
cus_MiiNLc3wAdaZ0W
The error I'm getting is No such invoice: 'in_1MgmCRKb9q6OnNsL18BtKhaf'
I see that. I'm wondering if it's because they're too old, but I'm not sure. Let me dig a bit and circle back
Thank you!
Ahhh, okay. It's because the Subscription was deleted
Why would the invoices be deleted when the subscription is deleted?
This likely happened due to the data retention policy for test mode subscriptions: https://support.stripe.com/questions/test-mode-subscription-data-retention
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
A trick for testing this over time is to use Test Clocks to simulate the advancing of time: https://stripe.com/docs/billing/testing/test-clocks
Ah so the Invoices are a descendant object of the Subscription?
You mean if I use test clocks within the 90 day retention period for a given subscription
Correct on both
Okay thank you for your help