Backend & Systems

Payment Gateways in Egypt: How to Choose One and Connect It

What a payment gateway is, how Paymob, Fawry and bank gateways differ, the questions to ask before choosing, and how the integration works without losing orders.

ZeQode article cover: Payment Gateways in Egypt: How to Choose One and Connect It

A payment gateway is the middleman that takes money from your customer and transfers it to your account, without card details ever passing through your server. In Egypt, the right choice depends on one thing above all: how do your customers pay? If many of them pay cash, you need a gateway with payment at outlets. If you sell outside Egypt, you need one that accepts foreign currencies.

How an online payment works behind the scenes

The customer enters card details or picks a wallet on a secure page run by the gateway. The gateway talks to the bank, checks the transaction, tells your server the result, then transfers the amount to your account minus its fee. Card details are never stored on your side, which protects you and your customer and spares you some very demanding security requirements.

The path of a payment from the customer to the payment page, the gateway, the bank, and then a notification to your server
One payment, end to end; the real confirmation comes from the server

Payment methods Egyptian customers use

  • Cards: Visa, Mastercard and Meeza.
  • Mobile wallets: carrier wallets, InstaPay and others.
  • Cash at outlets: the customer gets a reference number and pays at a nearby outlet or kiosk, such as the Fawry network.
  • Instalments and buy now, pay later through consumer finance companies.
  • Cash on delivery: not a gateway, but plan for it because it is still very common.

The best-known payment gateways in Egypt

Paymob

An Egyptian company that bundles many payment methods into one integration: cards, wallets, instalments and outlet payments. A good fit for most stores and apps that want several methods without integrating with each provider separately.

Fawry

Its biggest strength is a large network of outlets for cash payments, which matters for the many customers who don't use cards online. It also offers card payments.

Bank gateways

Many banks offer their own gateways. They can suit larger companies that already bank there, but onboarding is usually slower and the technical integration is sometimes older.

International gateways

If you sell to customers abroad in dollars or euros, there are international gateways. Check first that they support companies registered in Egypt and pay out to an Egyptian account, because not all of them do.

Fees, charges and terms change, and are sometimes negotiable with volume. Get them in writing from each company before deciding, and don't rely on old figures from the internet.

Seven questions to ask before choosing a gateway

  1. What is the fee per transaction? Are there fixed, monthly or setup fees?
  2. How long until the money reaches your account? A day? A week?
  3. Which payment methods exactly are supported, and what does each cost?
  4. How do refunds work, and is the fee returned?
  5. What documents do you need to open a merchant account?
  6. Is there a test environment (sandbox) and clear developer documentation?
  7. How and how fast does support respond if payments stop on a Friday?

Steps to connect a gateway to your site or app

  1. Open a merchant account and get API keys for the test environment.
  2. The developer connects the site to the gateway in the test environment first, and tries cards that succeed and fail.
  3. The site sends the order details to the gateway (amount and order number), and the customer pays on the gateway's secure page.
  4. The gateway sends a notification (webhook) to your server with the result; the server verifies the notification's signature and only then confirms the order.
  5. Once every case has been tested, you switch to live keys.

Step four is where many integrations go wrong: don't confirm the order from the "payment successful" page the customer returns to. The customer may close the browser before getting there, or someone could open that page without paying at all. The real confirmation must come from the notification the gateway sends to your server. This is backend work, covered in what is an API and security basics.

Mistakes that cost money or orders

  • Storing card details on your own server. Never do it; leave it to the gateway.
  • Not handling duplicate payments: a double tap or a notification that arrives twice, and the order is recorded twice.
  • Forgetting failures: the card is declined, and the customer needs to try another method without rebuilding the cart.
  • Not testing refunds before launch, then discovering they are manual and fiddly the first time a customer asks.
  • Hiding extra fees until the last step, which makes customers abandon the cart.

So which should you choose?

A small store selling within Egypt: a gateway that bundles cards, wallets and outlet payments into one integration. A subscription service or SaaS: a gateway that supports recurring card charges. Customers abroad: an international gateway that pays out to an Egyptian account. In every case, the integration must be done properly on the server.

We integrate payment gateways as part of our backend and API development service. If you are just starting a store, read our guide to building an online store in Egypt.

Frequently asked questions

Can I accept online payments without a commercial register?

Most gateways ask for business documents before full activation. Some offer options for freelancers, with lower limits.

Is cash on delivery better than paying online?

Usually both together. Online payment cuts returns and refusals; cash on delivery reassures new customers. Many stores give a small discount for paying online.

How long does a gateway integration take?

The technical integration usually takes days, but opening the merchant account and reviewing documents can take weeks, so start early.

Share this article

More articles you may like

All articles