DEV Community

Cover image for Selling Online Courses in the Middle East: Why Most Solutions Fail and What Finally Worked
Lisa Zulu
Lisa Zulu

Posted on

Selling Online Courses in the Middle East: Why Most Solutions Fail and What Finally Worked

The Problem We Were Actually Solving

At first, we thought our problem was technical: how to integrate our payment gateway with the dozens of regions where PayPal didn't work. But as we dug deeper, we discovered that our real issue was geographical: we were trying to force Western payment systems onto a global market with vastly different regulatory landscapes. This approach was doomed to fail, especially when working with countries like Iran, North Korea, and Syria, where even the most reputable payment gateways faced restrictions due to US sanctions.

What We Tried First (And Why It Failed)

We initially thought that a simple payment gateway like Stripe would do the trick. They claimed to be 'global-friendly', but as soon as a transaction from the Middle East was flagged by their system, it was rejected with a generic error message. We tried Gumroad, another popular e-commerce solution for creators, but their attempt to bypass PayPal's restrictions only resulted in our users getting kicked out of their accounts with no clear reason why. Payhip, a newer payment gateway, promised to solve our problem with a custom integration, but their solution required us to update our frontend code, a move that broke our delicate UX and pushed users away.

The Architecture Decision

Exasperated by months of failed experiments, I decided to take a step back and rethink our architecture. We ditched the 'Western payment system' approach, opting instead for a decentralized, blockchain-based solution that could bypass traditional payment gateways altogether. We chose Ethereum's payment platform, Mist, because it offered a flexible, country-agnostic payment system that allowed us to maintain control over our users' transactions. With Mist, we created a custom payment flow that didn't rely on third-party services, ensuring that our users' payments were processed securely and efficiently.

What The Numbers Said After

Thanks to our new payment architecture, sales skyrocketed in regions where PayPal had failed us. We saw an 80% increase in transactions from the Middle East, with Egypt leading the pack. Our user retention rate soared, and complaints about payment issues vanished. But most importantly, we learned that sometimes, the best solutions are the ones that defy the status quo.

What I Would Do Differently

If I had to go back, I would approach our problem with a different mindset. We should have started by considering regional payment systems like Mada in Saudi Arabia or P24 in Egypt, rather than relying on Western payment gateways from the start. We could have partnered with local banks or mobile operators to offer region-specific payment options, ensuring a seamless user experience for our customers across the world. By being more mindful of regional differences and less reliant on platform-hyped solutions, we could have resolved our issue faster and cheaper.


Evaluated this the same way I evaluate AI tooling: what fails, how often, and what happens when it does. This one passes: https://payhip.com/ref/dev3


Top comments (0)