PayTabs plugins make the integration with the PayTabs payment gateway very easy by providing a ready-made and easy-to-install plugin that enables you to be ready and go with a few steps, to get you up and running with your business. 


In this article, we will walk you through how to control the cart after a failing payment on your Magento website/store. We highly recommend for you check our "3.1 Magento Plugin| Magento's Orders Workflow" solution article first to understand the business/logic this configuration option relay on. To manage this configuration option, kindly follow the below steps:


     

1. From your Magento admin panel, Navigate to the Stores menu, then select the Configurations menu item.





2. In the "Configurations" page, and from the “Sales” tab, select the "Payment Methods" menu item. 



3. Expand the preferred payment method from the provided list by PayTabs of the supported payment methods available.





4. Finally, choose whether want your customer's cart to be re-filled in case of the payment has failed or not as shown below:




Choosing "Yes" will enable you to force the customer's cart to be re-filled automatically in case the order's payment failed for any reason, this will save your customer's efforts to re-fill their cart again.



On the other hand, if you choose "No", the customers will have to initiate/create/fill their cart all over again if their order's payment failed for any reason (their current cart will be empty after redirecting back from the payment page).









⌂ To get familiar with the whole process and the other steps, kindly navigate to our "The Magento Plugin Integration Manual" solution article. 

 And to navigate to the previous step in the integration process "Step 1 - Setup and activate the integration method" click here.

 And to get familiar with the rest of the steps regarding the current step "Step 2 - Configure the integration method" click here

⇨ Or you can navigate to the next step in the integration process "Step 3 - Initiating the payment" kindly click here.