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 Shopify Plugin | Initiating the payment), so we highly recommend for you and your team be aware of Shopify's default order workflow, as the Paytabs plugin adopts this workflow which will affect the behavior of your website/store (such as order creation, carts, sent notifications/emails, ... and so).
Since the Shopify 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 our Shopify 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.