Skip to main content

Integrating Wati with PayTab

Updated over a week ago

Summary

Paytab is a payment gateway provider that offers online payment solutions. With the new Paytab 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 Paytab Payment Gateway integration in Wati.

This integration is available for only Pro & Business Plan customers

Instructions

Setting Up the Paytab Integration

Follow these steps to integrate Paytab with Wati:

  1. Navigate to More Menu and select Integration.

  1. Click on Paytab.

  2. Enter the required credentials:

  3. Profile ID

  4. API Endpoint

  5. API Key

  6. Choose Currency (This must match the currency configured in your Paytab account.)

  7. Click Connect Paytabs to activate the integration.

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

Enabling Paytab for Catalog Orders

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

  1. Go to the Commerce section in Wati.

  2. Select the Checkout option from the menu.

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

  4. Click Save to activate the Paytab checkout flow for catalog orders.

Additional Options

When setting up the Paytab 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:

  1. Navigate to the Team Inbox area.

  2. Click the Payment Link icon.

  3. In the pop-up window:

  4. Select Payment Gateway.

  5. Choose the Currency.

  6. Enter the Amount.

  7. 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 Paytab 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 PayTab 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 Paytab, and why should I use it with Wati?

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

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

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

Setup & Configuration

3. Where can I find my Paytab credentials?

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

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

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

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

→ Ensure that:

  • You have entered the correct credentials.

  • Your Paytab account is active.

  • The API Key and Endpoint are valid.

Using the Integration

6. How do I enable Paytab 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?