You can choose what should happen if a charge for an ongoing subscription fails, including how many times it should be retried and what should happen after all attempts to charge the account have failed.
To set it up, follow the steps below.
Using the drop-down in the backoffice's top right corner, select the account for which you wish to make the adjustments.

Click the account name again.
Click the Account settings.
Go to the Subscriptions section.
Using the drop-down menu, choose what should happen after each unsuccessful payment and when all of them have failed.
After all payment attempts have been unsuccessful, you must choose whether to classify the subscription as canceled or unpaid in the last stage. If you wish to set this subscription apart from other canceled subscriptions, choosing unpaid is preferred. Click the Save button.