#exzotic.
1 messages · Page 1 of 1 (latest)
hi! it depends what settings you have for retries(https://dashboard.stripe.com/settings/billing/automatic) but there is an unpaid status yes that the Subscripton can enter.
see this section and the ones following it : https://stripe.com/docs/billing/subscriptions/overview#failed-payments
ah right, so it goes into past_due when the payment fails?
This is how I have retries at the moment
As I was wondering if I should use the customer.subscription.updated then check if inside the previous_attributes the subscription status is unpaid / past_due and the new status is now active, to then run that action to "unsuspend"?
that would work yep
the 'decline after attaching' card from https://stripe.com/docs/testing#declined-payments can be added to a customer with an existing subscription; and then you wait for the next invoice payment to fail. It's made easier when using Test Clocks https://stripe.com/docs/billing/testing/test-clocks