Skip to main content

Payment Workflow

PayTabs provides you with the backend packages that make the integrating with PayTabs payment gateway very easy by providing ready-made classes that handle the payment process.

This manual provides a step-by-step workflow for using the PayTabs package. To customize the UI of the hosted payment page, check this article.

In this manual, we will wake you through the payment workflow for Laravel PayTabs Page.

  1. Creating an object from the paypage class then calling the create_pay_page() method which generate a RedirectResponse instance which sets the target Url using the redirect_url parameter value from the PayTabs response payload.
  2. The merchant should return this object to navigate/redirect the customers to this previous payment page link; in order to complete the payment.
  3. Once the payment is completed, PayTabs will redirect the customer back to the merchant’s website, to the return URL that the merchant specified in the sendURLs() method, and the payment basic results will be posted to that URL.

We are glad to be always in help. We aim to serve you better each time. As such, please spare a minute to share feedback about your recent experience with PayTabs Developers , on Trustpilot, or Google Reviews.