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.
This article is dedicated to walking you through how to refund a transaction related to one of your WooCommerce orders. We highly recommend reading the below solution articles first to be aware of some of the processes that may be mentioned in this article:
There are two ways to refund an authenticated "Sale" transaction:
via the WooCommerce Admin dashboard
You will be able to refund the transaction, even it was "Sale" or "Captured" related to one of your WooCommerce orders via your WooCommerce admin dashboard by following the below steps:
- Navigate to the "WooCommerce" menu from your WooCommerce admin dashboard, then select "Orders" as shown below:
- Then click on the name of the chosen order you want to refund its amount as shown below.
- After this, you will be redirected to the order details page.
- Then click on the "Refund" button on the order page as shown below:
- Provide the refund amount you prefer, whether it's a partially refund (refund specific products' amount), or not.
- Finally, click on the button called "Refund Manually" to refund the order.
via the Paytabs Dashboard
You can perform the refund directly from your PayTabs dashboard, and your Magento website/store will be affected/updated with this change that occurred on your PayTabs dashboard ONLY if you activated the 2.5 WooCommerce Plugin | Allow IPN Notifications configuration option.
If this configuration options is not enabled, refunding the transaction would proceed normally, however, your WooCommerce website/store will not be notified/updated of this change/refund.
You can fully refund (refund the whole transaction's amount) or partially refund (refund a partial amount from the whole transaction's amount) the transaction. However, for the IPN notification sent to your WooCommerce website/store (which allows your WooCommerce order to be affected/updated with this refund), ONLY the full refund is allowed, as you will not be able to specify which product on the WooCommerce order you will refund from the PayTabs dashboard.
You will be able to refund the transaction related to one of your WooCommerce orders via your Paytabs dashboard by following the below steps:
- Navigate to your "Transactions" menu from your dashboard as shown below:
To know more about handling transactions on your Paytabs dashboard generally, kindly check our Get to know the Transactions menu item, and how to manage it solution article.
- Then, click on the chosen "Sale" transaction that you want to refund, as shown below:
- After that, click on the green "Refund" button at the bottom on the right of the transaction view page, as shown below:
- This will redirect you to the refund form; then, you will have to provide the entire transaction amount in the "Amount" field, then click on the "Submit" button.
Only then the WooCommerce order will be affected by this action and will be linked to the new "Refund" transaction that has been made on your PayTabs dashboard.
⌂ 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 6 - Handle the post-payment responses" kindly click here.