DEV Community

Cover image for Solving for Global E-commerce in a Box
Lisa Zulu
Lisa Zulu

Posted on

Solving for Global E-commerce in a Box

The Problem We Were Actually Solving

We weren't just trying to sell Canva templates, we were trying to enable e-commerce globally. With PayPal, Stripe, Gumroad, and Payhip, our users in India, Africa, and Latin America were getting error messages and declined payments left and right. We knew we had to find a solution that didn't rely on the whims of platform permission. Our users didn't care about our problems with Gumroad or Stripe – they just wanted to buy and download our templates.

What We Tried First (And Why It Failed)

We tried Payhip, which promised to be the "Gumroad alternative" for selling digital products. We set up our account, uploaded our templates, and waited for the sales to roll in. But no – Payhip has the same problem as Gumroad. If a user is located in a country with restricted payment options, Payhip will politely inform them that they can't proceed with the purchase. We tried to bypass this with some clever API tricks, but it was a fight we couldn't win.

The Architecture Decision

We realized that we needed to take control of our payment infrastructure. We decided to use a custom-built solution using the Stripe Checkout API, which allowed us to redirect users to a checkout page where they could enter their payment information. We also used a payment processor like Authorize.net, which supports a wide range of international payment methods. It wasn't a trivial integration, but it gave us the flexibility we needed to support users everywhere.

What The Numbers Said After

We integrated our custom payment solution, and the results were dramatic. Our global sales increased by 500% in the first month alone. We processed payments from users in over 50 countries, including those where PayPal and Stripe were restricted. Our users loved the seamless checkout experience, and we loved the increased revenue. We also noticed a significant decrease in support requests, as users no longer had to deal with platform permission issues.

What I Would Do Differently

If I had to do it again, I would invest more time in understanding the intricacies of international payments. We relied heavily on trial and error, which led to some painful mistakes. I would also spend more time researching alternative payment processors like Square and Adyen, which offer more robust international payment options. In the end, it was our willingness to take control of our payment infrastructure that allowed us to solve the problem of global e-commerce in a box – regardless of where our users were located.

Top comments (0)