If you build e-commerce for Egypt, the checkout page is where most of your assumptions break. We run Elmatajer, an Arabic-first online store builder for Egyptian merchants, and almost every checkout bug we fixed this year came from one of the five things below. None of them is exotic, but each one silently loses orders.
1. Customers type Arabic-Indic digits
A large share of shoppers type their phone number with the Arabic keyboard, so 01012345678 arrives as ٠١٠١٢٣٤٥٦٧٨. Some Persian keyboards send yet another set (۰۱۲۳). If your validation only accepts [0-9], those customers see "invalid phone" and leave.
Normalize before you validate, on both sides:
// browser: convert as the user types, so what they see is what we store const toLatinDigits = (s) => String(s) .replace(/[٠-٩]/g, (d) => d.charCodeAt(0) - 0x0660) // Arabic-Indic .replace(/[۰-۹]/g, (d) => d.charCodeAt(0) - 0x06F0); // Extended (Persian) input.addEventListener('input', () => { const v = toLatinDigits(input.value); if (v !== input.value) input.value = v; }); // server: never trust the client did it function toLatinDigits(string $s): string { return strtr($s, [ '٠'=>'0','١'=>'1','٢'=>'2','٣'=>'3','٤'=>'4','٥'=>'5','٦'=>'6','٧'=>'7','٨'=>'8','٩'=>'9', '۰'=>'0','۱'=>'1','۲'=>'2','۳'=>'3','۴'=>'4','۵'=>'5','۶'=>'6','۷'=>'7','۸'=>'8','۹'=>'9', ]); } The same applies to coupon codes, quantities and anything numeric a human types.
2. One phone number, many spellings
The same Egyptian mobile shows up as 01012345678, 1012345678, +201012345678, 00201012345678 or +20 10 1234 5678. Store one canonical form (E.164, +201012345678) and compare on that, or you will create duplicate customers and fail to match returning ones. Egyptian mobiles are 11 digits starting with 010, 011, 012 or 015, which makes a cheap sanity check before you hit any library.
3. Address = governorate + area, not a free-text line
Couriers in Egypt price and route by governorate and then by area inside it. A single "address" textarea forces someone to read every order and guess the zone. Ask for the governorate first, then load its areas, then the street details. That structure lets you:
- price shipping at checkout instead of "we'll tell you on WhatsApp";
- turn cash on delivery on or off per area (some remote areas are prepaid only);
- push the order to the courier's API without a human retyping it.
4. Cash on delivery is the default, so design for refusals
Most first orders from a store a customer doesn't know yet are paid in cash on delivery. The cost isn't the cash handling, it's the refused delivery: the courier goes, the customer doesn't answer, and the merchant pays shipping both ways.
What reduced refusals the most for our merchants was boring: confirm the order before it ships. A WhatsApp message with the order summary that asks the customer to confirm filters out many of the orders that would have been refused at the door. Model it as its own step between "new" and "shipped", so nobody hands an unconfirmed order to the courier by accident.
5. Log every refused checkout, with the reason
The worst checkout bugs don't throw errors. A payment method that wasn't selected, a phone that failed validation, a coupon whose window ended in the store's time zone but not the server's: the customer just gives up.
We now write one line per refused submit (reason code, which field, no personal data) to a daily log. That file shows problems an error tracker never will. Two of this kind we fixed recently:
- a single-payment-method store where the method wasn't preselected, so "choose a payment method" blocked a page that had nothing to choose;
- coupon messages that said "not allowed" when the truth was "add 150 EGP more to use this coupon". Telling the customer the real reason (minimum amount and how much is left, or the date the coupon starts) turned a dead end into an upsell.
Wrapping up
None of this needs a framework change: normalize input, store canonical data, structure the address, add a confirmation step and log refusals. If you're building for MENA, start with the digits. It's the cheapest fix with the biggest effect.
If you want to see these patterns in a real store, or connect to them from your own code, the Elmatajer developer docs cover the public REST API and webhooks for orders, products and more.