Gulf Payment Gateway Integration Problems: 15 Failures and How to Fix Them
D
DanteNov 24, 2026 · 10 min read · Updated Nov 27, 2026
Short answer: most Gulf payment integrations break at the edges, not at the gateway: trusting the redirect, unsigned or duplicate webhooks, mada authorisation holds, wrong KWD decimals, iframes that block 3-D Secure, and refunds that never reach your database. iFynx went through the official docs of 12 gateways and BNPL providers on 24 November 2026; below are the 15 failures and the fix for each, with the source.
15 integration failures we see in Gulf and Egypt checkouts, and the fix for each. Graphic: iFynx.
15 Gulf payment integration problems and how to fix them
01
Orders marked paid (or unpaid) from the redirect page
Symptom: A customer paid but the order says failed, or the order says paid and no money arrived.
Why it happens: The browser redirect is for user experience. Customers close tabs, lose signal or tamper with URLs. Gateways say so: Tabby says never trust the redirect alone, MyFatoorah says paymentCompleted: true does not show the outcome, and Paymob calls callbacks the source of truth.
Fix: Change order status only from the server: webhook plus a server-to-server status call (Tabby Retrieve Payment, MyFatoorah Get Payment Details, Tap retrieve charge). Add a polling fallback for orders still pending after a few minutes.
Symptom: Duplicate emails, stock deducted twice, or a refunded order flips back to paid.
Why it happens: Tabby states it in writing: delivery order is not guaranteed, duplicates are possible, and a failed or slow (1 minute) response triggers up to 4 retries.
Fix: Make the handler idempotent (unique key = gateway payment ID + event), only move statuses forward (ignore an authorized after closed), answer 200 fast and do heavy work in a queue. If the order is not saved yet, return a non-200 so the gateway retries.
Symptom: Anyone who finds your webhook URL can mark orders as paid.
Why it happens: Every gateway signs differently: Paymob sends an HMAC you must recompute with your HMAC secret, Tap sends a hashstring header, Amazon Payment Services signs responses with a SHA response phrase, Geidea signs with HMAC-SHA256 and your API password.
Fix: Verify on the server with constant-time comparison, reject on mismatch, then confirm with a status call anyway. APS warns not to trim trailing spaces before checking the signature. Allowlist the gateway’s IPs where published (Tabby lists eight).
Symptom: Saudi cards decline or the money comes back after a week.
Why it happens: mada does not support authorisation holds or partial captures. Checkout.com says a mada authorisation is auto-voided after 7 days and then refunded by the acquirer.
Fix: Use direct sale (auto-capture) for mada cards and keep auth/capture for international cards only. Detect mada from the BIN list your gateway provides. 3-D Secure and CVV are required for all customer-initiated mada payments.
3-D Secure or KNET page is blank inside an iframe, popup or WebView
Symptom: Customers see a white screen, or the OTP page never returns to the app.
Why it happens: APS says the 3-D Secure page must not open in a popup or iframe. Tap says QPay must be a full redirect, not an iframe. Paymob says Apple Pay does not work inside a WebView. Tabby forbids close/back buttons in a mobile WebView.
Fix: Redirect the whole page (or use the gateway’s native SDK in apps), handle the return URL with a deep link, and test every local method on a real phone before launch.
Symptom: A 2 KWD order is charged as 0.2 or 20 KWD; halalas and riyals mixed up.
Why it happens: Gateways use different units: KWD has three decimals (APS: 2.000 KWD is sent as 2000), Moyasar wants halalas (100 = 1 SAR, minimum 1 SAR), Paymob wants cents, Geidea and HyperPay want major units with two decimals.
Fix: Store money as integers in minor units per currency (KWD, BHD, OMR = 3 decimals; SAR, AED, QAR, EGP = 2) and convert in one adapter per gateway. Note APS’s Visa rounding rule for KWD (3.475 becomes 3480).
Refunds made in the dashboard never reach your system
Symptom: The customer got the money back, but your order, stock and accounts still say paid.
Why it happens: PayTabs notes that refunds, captures and voids done from the dashboard may not trigger a callback.
Fix: Either refund only through your own admin (which calls the API and records it), or run a daily reconciliation that pulls transactions from the gateway and flags differences.
Symptom: The API refuses the refund or the customer never receives it.
Why it happens: Local schemes have hard limits: QPay and BENEFIT refunds are not possible after 90 days; cash/kiosk payments cannot be refunded online; Tabby refunds only CLOSED payments within 180 days and validates against the captured amount.
Fix: Show refund eligibility in your admin per method and date, send a unique reference ID per refund (Tabby replays a reused ID), and offer a bank-transfer path for methods that cannot be refunded online.
Tabby or Tamara orders stuck, or captured too early
Symptom: Orders stay authorised, settle late, or get captured before shipping.
Why it happens: BNPL needs extra steps: Tamara requires you to call authorise after the approved notification, and only captured orders settle. Both Tabby and Tamara capture automatically after 21 days if you do nothing.
Fix: Authorise on the approved webhook, capture when you ship (full capture where possible), close leftover amounts after a partial capture, and alert on any order authorised for more than a few days.
Symptom: Works on one domain or country, invisible on another.
Why it happens: Apple Pay needs domain verification (MyFatoorah), Safari on HTTPS with a user gesture (Moyasar), and for merchants outside Saudi Arabia, mada must be removed from supportedNetworks (Checkout.com).
Fix: Verify every domain and subdomain with each gateway, set the right merchant country, and test on a real device with a mada card and an international card.
Symptom: Stock is held for days, or released before the customer pays at the outlet.
Why it happens: Reference-code and some local methods are paid later. Tap says some methods stay IN_PROGRESS and confirmation can take several days; FawryPay codes are paid at outlets.
Fix: Give the order an awaiting payment state with an expiry you choose, keep stock rules per method, and finish the order only on the server notification.
Symptom: Payments fail in one country only, or test payments hit live.
Why it happens: MyFatoorah issues one token per country with its own API host; Paymob uses a host per region; Tabby uses api.tabby.ai for the UAE and api.tabby.sa for Saudi Arabia; Tap and Paymob switch test/live by key.
Fix: Keep a per-market config (host, keys, currency, enabled methods) and refuse to start if a live key is loaded in staging.
Symptom: Customers come back from a coffee and the payment page errors.
Why it happens: Sessions are short: Geidea sessions expire after 15 minutes, Tabby after 20, Moyasar payment intents after one hour; a MyFatoorah session ID is single-use.
Fix: Create the session when the customer presses Place order, not on cart load; one session per click; recreate silently if expired.
Arabic receipts and e-invoices do not match the payment
Symptom: Receipts show the wrong reference, refunds have no credit note, auditors cannot match.
Why it happens: Each method has its own reference fields. APS requires the KNET receipt to show knet_ref_number, third_party_transaction_number, amount and date.
Fix: Save every gateway reference on the order, print bilingual receipts with the local-method reference, and issue credit notes for refunds in your e-invoicing system (in Saudi Arabia through ZATCA e-invoicing).
Symptom: Sandbox works, but the gateway will not switch you to live.
Why it happens: Gateways run their own QA: APS wants a screenshot sign-off pack (mada, 3-D Secure, declined, saved card, recurring, KNET receipt); Tabby has a mandatory checklist (labels in Arabic and English, no secret key in the front end); Telr needs your domain whitelisted.
Fix: Run the gateway’s checklist yourself first and keep screenshots as you test. Book the review early: it is often the slowest step.
☐ Status changes only from signed webhooks plus a server status call
☐ Idempotent handler; statuses only move forward
☐ Money stored in minor units per currency (KWD/BHD/OMR = 3 decimals)
☐ mada on direct sale, international cards on auth/capture if needed
☐ Every local method tested full-page on a real phone (KNET, QPay, BENEFIT, 3-D Secure)
☐ Apple Pay verified on every domain
☐ Refunds only from your admin, plus a daily reconciliation job
☐ BNPL: authorise on approval, capture on shipping, alert after a few days
☐ Bilingual receipts carry the gateway and local-method references
☐ The gateway’s own go-live checklist passed, screenshots saved
How iFynx can help
iFynx integrates Moyasar, HyperPay, Tap, PayTabs, MyFatoorah, Amazon Payment Services, Network International, Geidea, Paymob, Fawry, Tabby and Tamara into apps, websites and Salla/Zid store apps, and fixes integrations that already misbehave: duplicate orders, lost refunds, blank 3-D Secure pages and failed go-live reviews. USD 15 to 25 an hour, no minimum, fixed quote after a free call.
Why is my payment successful at the gateway but failed in my store?
Usually because the store trusted the browser redirect, which never came back (closed tab, lost signal, WebView issue). Confirm every payment with a signed webhook and a server-to-server status call, and add a polling fallback.
Does mada support pre-authorisation?
No. According to Checkout.com’s mada documentation, mada does not support authorisation requests or partial captures and must be captured in full. Use direct sale for mada cards.
How many decimals does KNET use?
KNET charges in Kuwaiti dinars, which have three decimals. Amazon Payment Services, for example, expects 2.000 KWD to be sent as 2000.
Can I refund a QPay or BENEFIT payment after three months?
No. Under the QPay and BENEFIT rules described in the Mastercard Gateway documentation, refunds are not allowed after 90 days from the purchase date.
Who can fix my existing Gulf payment integration?
iFynx reviews and fixes existing integrations (webhooks, refunds, decimals, 3-D Secure, BNPL capture, receipts) for any of the major Gulf and Egyptian gateways, and gives a fixed quote after a free call.
Checked 24 November 2026 against each provider’s public developer documentation (linked per item). Rules change; confirm with your gateway account manager. iFynx is not affiliated with any provider named here.
🛡️ iFynx security bulletin · every SundayThe week’s vulnerabilities that matter to Gulf and Egypt companies, in one email
Every Sunday: the most serious confirmed CVEs and breaches, who is exposed in Saudi Arabia, the UAE and Egypt, and what to patch first. Free, in English and Arabic, one-click unsubscribe.
✓ You’re subscribed. A welcome email is on its way; the first issue arrives on Sunday.