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.
The order status will follow the normal WooCommerce flow.
Used when the order is received, and no payment has been initiated yet. Awaiting payment (unpaid).
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.
Used when the order is received, and stock is reduced, but you need to confirm the payment.
Used only when the order is fulfilled and complete, and no further action will be required.
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.
Used when the order amount is Refunded, and no further action will be required.
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.