Payments integration

Connect Paymob

Accept payments from customers with Paymob payment links sent in the chat, and track payment status on every lead.

6 min readWorks in Arabic & English

Paymob

Payments

Send payment links and track completed purchases on each lead.

Connect in Naqla

Connect your Paymob merchant account so your team and AI agent can send payment links in conversations. When a customer pays, Naqla updates the lead’s payment status automatically and stops follow-up reminders.

This guide is about collecting payments from your customers. To pay for your own Naqla subscription, see Manage your subscription.

Before you start

  • You need an activated Paymob merchant account. New accounts start in test mode until Paymob approves them for live payments.
  • You need access to the Paymob dashboard to copy your API credentials.

Get your Paymob credentials

In the Paymob dashboard:

  1. Go to Settings → Account info and copy your API key, Secret key and Public key.
  2. Copy your HMAC secret from the same page.
  3. Go to Developers → Payment integrations and copy the Integration ID for each payment method you want to offer, for example Online card or Mobile wallet.

Keep these keys private. Never paste them into chats or share them by email.

Connect Paymob to Naqla

  1. Open Integrations and click Connect on the Paymob card.
  2. Paste your API key, Secret key, Public key and HMAC secret.
  3. Add one or more Integration IDs and give each a label, for example Cards or Wallets.
  4. Choose Test or Live mode.
  5. Click Save.

Until every step is complete, the card shows Needs setup.

Add the callback URL

Naqla shows a Transaction processed callback URL on the Paymob card. Paste it into your Paymob integration settings so Naqla is notified instantly when a payment succeeds or fails:

  1. In Paymob, open Developers → Payment integrations and edit each integration.
  2. Paste the URL into Transaction processed callback.
  3. Save.
  • From the inbox: click the payment button in the reply box, choose a product or enter an amount, and send.
  • By the AI agent: when a customer is ready to buy, the agent sends a link for the product or course they asked about.

The lead’s payment status moves through Link sent → Paid, or Failed / Expired.

Turn on the Unpaid payment link automation to remind customers who haven’t paid after a set time. See Set up follow-up automations.

Troubleshooting

Problem What to do
Card stays on Needs setup Check that all keys and at least one Integration ID are saved
Status doesn’t change to Paid Make sure the callback URL is added to every integration in Paymob
“Authentication failed” The API key was regenerated in Paymob. Paste the new key
Payment works in test, not live Your Paymob account may not be activated for live payments yet. Contact Paymob

Disconnect

Click Disconnect on the Paymob card. Payment links already sent stop working, and the payment history on leads is kept.

Was this article helpful?