Skip to content
العربية

Connect a payment gateway

Connect the card or wallet gateway the company is paid through, then import its payout reports and post them so the gateway fees and the money that reached the bank are in the books.
Product version
Web v2.4.1
Last updated
2026-11-22
Who can do it

The Accounts Manager or the Company Owner adds and changes gateways. Accounts User can import and post settlements. Cancelling a posted settlement is for the Accounts Manager.

Before you start
  • A bank account of type Gateway clearing (or Card acquirer) in the gateway's currency, where captured payments wait until the payout. Add a bank account or cash box
  • A merchant account with the gateway, and its credentials from the gateway's dashboard.
  • The bank account that receives the gateway's payouts. Add a bank account or cash box

Steps

    1. 1

      Open Accounting in the product bar, then Accounting settings and Payment gateways. Click New gateway.

    acc-gateways-list/accounting/gatewaysAccountant
    1. 2

      On the Gateway step, choose the Gateway and enter the Name, Name (Arabic), Currency and Account type. The gateway cannot be changed after the account is created.

    2. 3

      On the Credentials step, enter the credentials from the gateway's dashboard. They are never shown again after saving.

    3. 4

      On the Clearing and fees step, choose the Clearing account and leave Switched on ticked. Fill the Fee rule only when the gateway's report has no fee column.

    4. 5

      Add any Driver settings the gateway needs, check the review and click Create gateway.

    acc-gateways-new/accounting/gateways/newAccountant
    1. 6

      Open the Connection tab and click Test connection. It should say The gateway accepted the credentials.

    acc-gateways-connection/accounting/gateways/1Accountant
    1. 7

      Open the Webhook tab, copy the Webhook address and register it in the gateway's dashboard, so Eldalala hears when a payment is captured, refunded or disputed.

    acc-gateways-webhook/accounting/gateways/1Accountant
    1. 8

      When the gateway pays out, click Settlements on the gateway's page, then Import report.

    acc-gateways-settlements/accounting/gateways/1/settlementsAccountant
    1. 9

      Choose Upload a CSV file or Fetch from the gateway, then the Bank account the payout reached and the Posting date. Click Import, then Review and post.

    acc-gateways-import/accounting/gateways/1/settlementsAccountant
    1. 10

      Check the Report lines and What posting books. Lines marked No payment found match no captured payment.

    2. 11

      Choose the Bank account and Posting date if still empty, and click Post settlement.

    acc-gateways-settlement/accounting/gateways/1/settlements/2Accountant
    1. 12

      To follow the settlements of every gateway, open Online payments, then the Gateway settlements tab, and choose the Gateway.

    acc-gateways-all-settlements/accounting/gateway-settlementsAccountant
Expected result
The gateway shows in Payment gateways with its clearing account and fee rule. A posted settlement shows Posted with its voucher: the bank is debited with the net, the gateway fees and their VAT are booked, and the clearing account is credited with the gross. When the company requires approval, it shows Sent for approval. It posts once approved. After the payout is matched in bank reconciliation, the Bank column shows Matched to bank.

If something goes wrong

Message or symptomWhat to do
Some credentials are missingFill every field on the Credentials step.
Choose a clearing accountChoose an active Gateway clearing or Card acquirer account in the gateway's currency. Add one in Banks and cash if the list is empty.
The settlement file could not be readImport the payout report exactly as this gateway exports it, as a .csv or .txt file up to 5 MB.
This settlement is already postedA report with the same reference is already in the books. Open it from the settlements list instead.
This gateway is already in useA gateway with payment links or settlements cannot be deleted. Switch it off instead.

What comes next

More help