Skip to main content

Different Integration Types Supported by PayTabs APIs

PayTabs offers four different integration types, each designed to meet specific business needs. These are the Hosted Payment Page (HPP), Invoices, Managed Form, and Own Form. Each integration type can be initiated through PayTabs' API endpoints. In this manual, we’ll guide you through the differences between these integration types to help you choose the most suitable option for your business.

Payment Workflow​

Understanding how each PayTabs integration type processes payments is crucial for selecting the right option for your business. Each integration type follows a specific workflow, from initiating the payment request to returning the transaction results. Whether you're looking for a simple redirect solution or a fully customized payment form, the following section outlines how payments are processed in each integration type.

1. Hosted Payment Page (HPP)​

In the Hosted Payment Page method, you will initiate a transaction API request, which returns a response containing a payment page link. The merchant should redirect the customer to this payment page link, which allows the customer to complete the transaction. Once the payment is finished, PayTabs will redirect the customer back to the merchant’s website using the return URL specified in the API request, and the payment results will be posted to that URL.

To learn more about the Hosted Payment Page workflow, click here.

2. Invoices​

To use Invoices, the merchant must create an invoice with valid information. This invoice link can then be sent to the customer via any communication method. The customer can pay the invoice anytime between the activation and expiration date by clicking the "Pay Now" button on the invoice page. After payment is completed, the customer will be redirected to a success page, and the invoice cannot be paid again. Merchants can track invoices through the Merchant Dashboard.

To learn more about the Invoices workflow, click here.

PayLinks directs your customers to a secured payment page. When customers click on the link, they are instantly taken to the payment page, ensuring that you receive payments promptly. Since PayLinks are reusable, you can share them with customers multiple times. Additionally, PayLinks can be shared on social media accounts or sent via SMS or WhatsApp for added convenience.

4. Managed Form​

With Managed Form, your website will display its own card entry form, but critical fields will be managed by the PayTabs gateway. You will need to integrate a script that replaces sensitive card data with a payment token. When the form is submitted, the paylib.js script will send the card details to PayTabs for token generation. Once generated, the token is inserted into the form data before being sent to your server. The server then processes the payment using the tokenized data, ensuring that sensitive card details are not directly handled by your system.

To learn more about the Managed Form workflow, click here.

5. Own Form​

In the Own Form method, your website will display its own card entry form and capture the required details (card number, expiry date, security code, etc.). After submission, the card details will be sent to your server, which then forwards a payment request to PayTabs, including the card details. If the card is enrolled in 3D Secure (3DS), the API response will return a redirect URL where the customer can complete the authentication. For non-3DS cards, the payment result will be returned directly in the API response.

To learn more about the Own Form workflow, click here.


Features and Considerations​

ConsiderationHosted Payment Page (HPP)InvoicesManaged FormOwn FormPayLinks
Integration ManualYesYesYesYesYes
Hosted on PayTabs Serverβœ”βœ”βŒβŒβœ”
Managed by PayTabsβœ”βœ”βœ”
(On merchant's server)
βŒβœ”
Access to Card DetailsβŒβŒβŒβœ”βŒ
Customize Payment Page Themeβœ”βœ”βœ”
(UI control)
βœ”βœ”
Customize Payment Form FieldsβŒβŒβœ”βœ”βŒ
One Page Checkout (Iframe)βœ”βœ”βœ”βœ”βœ”
PCI RequirementsβŒβŒβœ”
(SAQ A-EP)
βœ”
(SAQ D-Merchant)
❌
Supported Payment MethodsAllAllCards onlyCards onlyAll
Token-Based Transactionsβœ”βœ”βœ”βœ”βœ”
Post Payment Responseβœ”βœ”βœ”βœ”βœ”
Follow-up Transactionsβœ”βœ”βœ”βœ”βœ”
Cancel Before PaymentβŒβœ”βŒβŒβŒ
Send via Email & SMSβŒβœ”βŒβŒβœ”
Donation Modeβœ”βŒβŒβŒβœ”
Card Discountβœ”βŒβŒβŒβœ”
Card Filterβœ”βŒβŒβŒβœ”

PCI Certification​

Note: If you are not PCI certified, we highly recommend using the Hosted Payment Page. For businesses that want to avoid redirecting customers outside of their site, PayTabs also provides an Embedded Hosted Payment Page.

You can customize the payment form to fit the look and feel of your business, with the following customization options:

  1. Hosted Payment Page/Invoices**: Customize colors and labels by following this guide.
  2. Managed Form**: Since you are creating the form yourself, you can control its UI and fields order, though field names are fixed.
  3. Own Form**: Full control over the entire payment form, including customization of all UI elements and fields.


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.