Skip to main content

Integrating Wati with PayTabs

Updated today

Summary

PayTabs is a payment gateway provider that offers online payment solutions. With the new PayTabs Payment Gateway integration in Wati, businesses can now collect online payments for catalog orders and manually generate payment links directly within Wati. This guide explains how to set up and use the PayTabs Payment Gateway integration in Wati.

Note:

  • This integration is available only for Wati's Pro & Business plan customers.

  • PayTabs is primarily supports businesses in the Middle East and North Africa (MENA) region.

Instructions

Setting Up the PayTabs Integration

Follow these steps to integrate PayTabs with Wati:

  • Navigate to More Menu and select Integration.

  • Click on PayTabs.

  • Enter the required credentials:

    • Profile ID

    • API Endpoint

    • API Key

    • Choose Currency (This must match the currency configured in your PayTabs account.)

  • Click Connect PayTabs to activate the integration.

Note: The required credentials can be obtained from your PayTabs account.

Enabling PayTabs for Catalog Orders

Once the PayTabs integration is successfully connected, follow these steps to enable payment collection for catalog orders:

  • Go to the Commerce section in Wati.

  • Select the Checkout option from the menu.

  • Open the Payment Gateway tab and enable the Payment Gateway option.

  • Click Save to activate the PayTabs checkout flow for catalog orders.

Additional Options

When setting up the PayTabs checkout flow, businesses have the following options:

  • Default Payment Link Message: A pre-configured message template that includes the payment link will be sent to customers. Users can customize the template as needed.

  • Payment Confirmation Message: Enable this option to send a confirmation message to customers upon successful payment.

Manually Generating Payment Links

To create and share payment links manually via WhatsApp:

  • Navigate to the Team Inbox area.

  • Click the Payment Link icon.

  • In the pop-up window:

    • Select Payment Gateway.

    • Choose the Currency.

    • Enter the Amount.

  • Click Generate Payment Link and share the link with the customer.

Optional: Sending Payment Confirmation Messages

  • To send a payment confirmation message, select Send payment confirmation message.

  • Wati provides default message templates, but businesses can create custom templates.

Customizing Payment Templates

Businesses that want to create their own payment message templates for catalog orders should use the following attributes:

Attribute

Description

paytabs_payment_url

Displays the payment link in the body text of the message.

paytabs_payment_url_partial_variable

Inserts the payment link into a button within the message template.

Note: You can add the attributes by clicking on Add Variable when creating the template.

Understanding Payment Attributes

Customers who have integrated the PayTabs Payment Gateway can use these attributes:

Attribute

Description

paylink_amount

The value of this attribute represents the amount for which the payment link has been created.

paylink_payment

Indicates the payment status: success for successful payments, failed for unsuccessful payments.

Conclusion

With the PayTabs integration in Wati, businesses can now easily collect payments for catalog orders and manually generate payment links via WhatsApp. By following this guide, you can successfully configure and customize the integration to suit your business needs.

Frequently Asked Questions (FAQs)

General Questions

1. What is PayTabs, and why should I use it with Wati?

PayTabs is a payment gateway provider that enables businesses to collect online payments. Integrating PayTabs with Wati allows you to generate and share payment links via WhatsApp, making the payment process seamless for customers.

2. Do I need a PayTabs account to use this integration?

Yes, you must have a PayTabs account to retrieve the required credentials and enable the integration in Wati.

Setup & Configuration

3. Where can I find my PayTabs credentials?

You can find your Profile ID, API Endpoint, and API Key in your PayTabs account dashboard.

4. Can I use a different currency than the one set in my PayTabs account?

No, you must select the currency that matches your PayTabs account configuration.

5. What should I do if the integration fails to connect?

Ensure that:

  • You have entered the correct credentials.

  • Your PayTabs account is active.

  • The API Key and Endpoint are valid.

Using the Integration

6. How do I enable PayTabs for catalog orders?

Go to Commerce > Checkout > Payment Gateway, enable the option, and save the settings.

7. Can I customize the payment link message?

Yes, you can modify the default message template or create a custom one.

8. How do I manually generate a payment link?

Navigate to Team Inbox, click the Payment Link icon, enter the required details, and click Generate Payment Link.

Custom Payment Template

9. What attributes can I use in custom payment templates?

  • paytabs_payment_url (to display the payment link in the body text)

  • paytabs_payment_url_partial_variable (to include the payment link in a button)

Did this answer your question?