> For the complete documentation index, see [llms.txt](https://script-and-theory.gitbook.io/all-in-one-commerce-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://script-and-theory.gitbook.io/all-in-one-commerce-docs/subscription/settings/payment-retry.md).

# Payment Retry

* In which we are handling the subscription orders payment handling. Let suppose a subscription upcoming order payment fails and what action we need to do for that subscription. So we can handle these settings.
*

```
<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXd1Ly07B9KPK51E2Hmo0eAGDzzsIItIJ6Xcw4v9HSX_GMLcm2VCwuH_OgpQkRo-X2zc60z92fBsSIRdbpfTbN1JdEUF_ND9zUZmFvdlJdUz6EBfpTOqAq98r4XVSlbyYy8UYrc5?key=PWWdpJ3Y_qEUOcs-2MfQnVdS" alt=""><figcaption></figcaption></figure>
```

* Retry schedule: Retry failed payments number of times.
* Check the ‘Configure delay settings based on the retry attempt’ if you want to set the multiple retries with different days basics.
* If you unchecked the “Configure delay settings based on the retry attempt” then set the field “Delay before retrying a failed payment” to retry the payment after those days of period.

When all the retries are done:  You can choose the action what if payment is failed after all tries, so you will be able to perform action for that subscription according to it “Paused Subscription” or “Cancel Subscription”
