Home/Insights/Checkout & payments

Payment gateways for WooCommerce in Egypt: setup, testing and fixing failures

MNBy Madlin Nabil, Senior WordPress Developer & MarTech Specialist··2 min read

Customers in Egypt pay in many ways: cash on delivery, cards, mobile wallets and installment plans. A WooCommerce store that offers the right mix sells more, but every gateway is also one more thing that can fail. Here is what I have learned from integrating and supporting payments on an Egyptian store.

In short
  • Offer cash on delivery, cards, and at least one installment option if your average order is high.
  • Know how each gateway returns the customer to your store, because that is where orders and tracking break.
  • Keep the gateway logs and read them when payments fail.
  • Test every method on iPhone and Android after updates.

The usual options

  • Card and wallet gateways: Paymob and PayTabs are common choices, and both have WooCommerce plugins. I integrated Paymob on a live store and fixed an error in its payment description.
  • Installments: providers such as valU, Souhoola, Forsa and CashCall let customers split the price. They matter most for higher-priced products.
  • Cash on delivery: still a large share of orders in Egypt. It needs its own care; see cash on delivery tips.

Redirect or embedded payment page?

Many gateways send the customer to a hosted payment page and then back to your store. This is secure and simple, but it means the order status depends on two messages coming back from the gateway: the customer’s return to your site and a server callback. If either is blocked (by a firewall rule, a security plugin or a timeout), the customer pays but the order stays “pending”.

If you use Cloudflare or a security plugin, make sure the gateway’s callback URL is allowed.

When payments fail: how I investigate

  1. Open the gateway plugin’s log. Most plugins log each payment page created and each return or callback.
  2. Find attempts that have a payment page but no return or callback. Those customers got stuck on the gateway or bank side.
  3. Group the failures by device and browser. On one store, card payments failed mostly on iPhones, in every browser using Apple’s WebKit engine, while Android and desktop worked.
  4. Check your own firewall logs to prove the return and callback weren’t blocked by you.
  5. Send the gateway’s support the order numbers, times and pattern. Specific evidence gets a faster answer.

Checklist before going live with a new gateway

  1. Test mode payment on desktop, Android and iPhone.
  2. Successful, failed and cancelled payments each set the right order status.
  3. Refunds work from WooCommerce, or the team knows how to do them in the gateway dashboard.
  4. The thank-you page fires the purchase event for analytics.
  5. The method name and description are clear in Arabic and English.

FAQ

Which payment gateway is best for WooCommerce in Egypt?

It depends on your fees, the methods you need (cards, wallets, installments) and the support you get. Many stores use more than one. Test the plugin’s quality and the support response before you choose.

Why do some orders stay “pending payment” after the customer paid?

Usually the gateway’s callback didn’t reach your store, or the customer closed the page before returning. Check the gateway log and your firewall rules.

Do installment options increase sales?

They help most with higher-priced products, where customers compare the monthly amount rather than the full price.

Related insights

See all 23 articles →

Need this for your store?

I build and fix WordPress and WooCommerce sites with marketing in mind: tracking, speed, checkout and integrations.