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 step is handled automatically by our plugin. In other words, NO further actions will be needed to be done from your side. By just using the configuration options and parameters that already have been clarified in the previous step, "Step 2 - Configure the integration method", any performed order through your website/store, the plugin will automatically handle the order response sent from PayTabs and update the order status accordingly.
This article is dedicated to walking you through the business aspect of how PayTabs' plugin handles the response of the payment that you already initiated in the previous step (Step 3 WooCommerce Plugin | Initiating the payment), so we highly recommend that you check our 3.1 Woocommerce Plugin | Woocommerce's Orders Workflow solution article first to understand the business/logic this plugin follows.
Here's what happened behind the scenes once you have configured the status that the order will be marked with according to PayTabs' response on the payment that has been done related to this order (the 2.9 - Captured Order Status and 2.10 - Failed Order Status configuration options):
Since the WooCommerce plugin follows our Hosted Payment Page mechanism in its integration, so it relies on both ways of the return URL and the callback URL to be notified and update the order status.
To know more about other supported mechanisms for the post payment notfications, please check our What are the Five (5) ways of receiving transaction response? solution article.
It does so to assure that order status will always be updated as the customer may never return to your WooCoomerce website/store due to a browser issue or unexpected customer behavior, such as closing the browser right after the payment without waiting for the payment page to redirect him back to the site.
In conclusion, by relying on updating the order status according to either the return URL response or the callback URL response, the plugin will always update the order status accordingly.
⌂ 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 4 - Accepting the payment" kindly click here. ⇨ Or you can navigate to the next step in the integration process "Step 6 - Handle the post-payment responses" kindly click here.