Stripe Testing With 1 Day Plan - Subscription Not Cancel Automatically
We normally use Stripe one day plan to test the scenarios.
However we found a unexpected behavior with stripe when we are using stripe one day plan.
We created a subscription with the test card "4000000000000341" which make the payment unsuccessful when try to charge. According to dunning rules subscription have to cancel after 2 attempts.
"It's likely that the Subscription hasn't cancelled because it doesn't have enough time to cancel as you have a daily Subscription. You see when a new invoice is created for a Subscription, it resets the retry logic (basically setting the retries back to zero).
For a daily Subscription you can't have more than 1 retry as it wouldn't give the retry logic enough time to carry out the final condition (i.e cancel the Subscription).
"
However we found a unexpected behavior with stripe when we are using stripe one day plan.
We created a subscription with the test card "4000000000000341" which make the payment unsuccessful when try to charge. According to dunning rules subscription have to cancel after 2 attempts.
"It's likely that the Subscription hasn't cancelled because it doesn't have enough time to cancel as you have a daily Subscription. You see when a new invoice is created for a Subscription, it resets the retry logic (basically setting the retries back to zero).
For a daily Subscription you can't have more than 1 retry as it wouldn't give the retry logic enough time to carry out the final condition (i.e cancel the Subscription).
"
Comments
Post a Comment