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:



  1. From your WooCommerce admin panel on the left side, navigate to WooCommerce -> Settings.  

  2. Then, click on the "Payments" tab to display all payment methods. 

  3. After that, click on the "Manage" button to configure this payment method.

  4. 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:

    DefaultThe order status will follow the normal WooCommerce flow.
    Pending PaymentUsed when the order is received, and no payment has been initiated yet. Awaiting payment (unpaid).
    ProcessingUsed 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 HoldUsed when the order is received, and stock is reduced, but you need to confirm the payment.
    CompletedUsed only when the order is fulfilled and complete, and no further action will be required.
    CanceledUsed when the order is canceled by an admin or the customer. Therefore the Stock will be increased, and no further action will be required.
    RefundedUsed when the order amount is Refunded, and no further action will be required. 
    FailedUsed 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 

  5.  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.