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