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 what will be the failed order status on your WooCommerce website/store if it's failed on the payment phase (declined/error/not a successful payment). We highly recommend that you check our "3.1 - WooCommerce'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:
- From your WooCommerce admin panel on the left side, navigate to WooCommerce -> Settings.
Then, click on the "Payments" tab to display all payment methods.
After that, click on the "Manage" button to configure this payment method.
Then you will need to choose one of the listed statuses within the "Failed Order status" dropdown to configure this option.
Below are the available statuses that can be selected according to WooCommerce's Orders Workflow:
Status Description Default The order status will follow the normal WooCommerce flow. Pending Payment Used when the order is received, and no payment has been initiated yet. Awaiting payment (unpaid). Processing Used when the order payment is received (paid), and the stock is reduced, but the order is awaiting fulfillment.
All product orders require processing, except those that only contain products that are both Virtual and Downloadable.
On Hold Used when the order is received, and stock is reduced, but you need to confirm the payment. Completed Used only when the order is fulfilled and complete, and no further action will be required. Canceled Used when the order is canceled by an admin or the customer. Therefore the Stock will be increased, and no further action will be required. Refunded Used when the order amount is Refunded, and no further action will be required. Failed Used for order payment that failed or was declined/unpaid.
Be very careful when you change the Default option. Once you change it, you change the normal flow of the Order into the Magento system, you may encounter some consequences based on the new value you set
Finally, you will need to save your configuration information by clicking on the “Save Changes” button.
And here you are, done configuring the PayTabs' WooCommerce plugin with the appropriate authenticated order status for failed orders.
⌂ To get familiar with the whole process and the other steps, kindly navigate to our "The WooCommerce 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" kindly click here. ⇨ Or you can navigate to the next step in the integration process "Step 3 - Initiating the payment" kindly click here.