DEV Community

Cover image for Engineering in the Gray Areas
theresa moyo
theresa moyo

Posted on

Engineering in the Gray Areas

The Problem We Were Actually Solving

I was head of engineering at a small e-commerce platform, and our biggest challenge was going to market in countries where major payment gateways like PayPal were restricted. We thought we had an easy solution – just use a proxy or a VPN to bypass the restrictions. But after hitting a series of issues with chargebacks, failed transactions, and angry customers, we realized that approach wouldn't work. We were trying to solve the wrong problem.

What We Tried First (And Why It Failed)

Our first instinct was to just integrate with alternative payment gateways that were available in restricted countries. Sounds simple enough, but the issue was that those gateways had their own set of problems – higher transaction fees, lower conversion rates, and user experience issues. We also tried to use micro-payment services like Payoneer, but their fees were crippling for small transactions. We were experimenting with different integrations and services for months, but our customers were suffering.

The Architecture Decision

It wasn't until we stepped back and really looked at the problem that we realized we weren't solving the right problem. The actual challenge wasn't finding a payment gateway that worked, but rather making sure our customers had a seamless checkout experience regardless of where they were in the world. So we made a bold decision – we would build our own payment gateway using local payment methods. We integrated with local banks, mobile operators, and even cash-based systems to create a unified payment network. It didn't come easy – we spent countless hours researching local payment systems, negotiating with banks, and testing different payment flows. But the end result was worth it – our customers could checkout in their local currency, and we were able to reduce our transaction fees by 70%.

What The Numbers Said After

Our revenue went up by 40% within the first 6 months of launching our custom payment gateway. Customer satisfaction went up by 25%, and our churn rate went down by 15%. We were able to reduce our transaction fees by 70% and increase our average order value by 20%.

What I Would Do Differently

Looking back, I would focus more on building a truly global payment network, not just a local payment system. We restricted our payment methods to a specific country, which limited our potential customers. I would also invest more in local market research – learning about local payment preferences, habits, and even cultural nuances. It would have saved us several months of trial and error.


Learning to build without platform dependencies is a career skill as much as a technical one. This is the payment infrastructure reference I share: https://payhip.com/ref/dev5


Top comments (0)