The Problem We Were Actually Solving
Our team focused on creating an inclusive marketplace for creators and buyers alike. We ensured our digital products were accessible across the globe, with multiple payment options to accommodate different regions. However, our reliance on traditional payment gateways and e-commerce platforms made it difficult to bypass their KYC requirements. This meant we had to implement these stringent checks, which often led to friction and frustration for our customers, particularly from areas with restrictive financial regulations.
What We Tried First (And Why It Failed)
Initially, we tried integration with major payment processors like Stripe and PayPal. These integrations worked seamlessly for customers from developed economies but failed for those in emerging markets. Their restrictive policies and strict KYC requirements caused significant delays and even denied payment processing for legitimate customers. These issues added latency to our pipeline, taking an average of 5-7 minutes to resolve per transaction. Furthermore, these payment processors came with high query costs on our warehouse, resulting in an average cost of $0.25 per query. Our query cost became unsustainable with the increasing volume of denied payments, eventually hitting our 5-second query freshness SLA.
The Architecture Decision
We decided to opt for alternative payment methods that did not rely on traditional payment gatekeepers. We chose a decentralized payment system that allowed our customers to make payments via cryptocurrencies, bypassing the stringent KYC requirements. This decision allowed us to onboard customers from any region without needing to obtain approval from intermediaries. We built our solution around the Cosmos SDK, utilizing its Inter-Blockchain Communication (IBC) protocol for seamless payment processing.
What The Numbers Said After
After implementing our new payment system, our pipeline latency reduced to under 1 second, and the number of denied payments plummeted. With our new system, we experienced an average cost of $0.05 per query on our warehouse, significantly reducing our query costs. Our query freshness SLA of 5 seconds was easily met, with an average freshness of 2 seconds. Most importantly, our customers from restrictive regions were finally able to access and purchase our digital products seamlessly.
What I Would Do Differently
While our decision to opt for decentralized payment methods was successful, I would consider implementing additional measures to ensure data quality at the ingestion boundary. By adding data validation and quality checks during payment processing, we could have potentially avoided some of the errors caused by incorrect customer information. For instance, implementing a more comprehensive address validation system could have prevented instances where payments were declined due to address discrepancies.
Top comments (0)