apps/web/content/blog/handling-a-stripe-payment-attack.mdx
A couple of days ago, we launched Cap on Product Hunt, confident we were prepared for anything.
Everything would go perfectly, right?
Not quite. Let me share what happened and the mistakes we made along the way.
In the midst of the launch frenzy, I glanced at our Stripe dashboard. At first, I thought, "Wow, that's a lot of new subscriptions!". Transactions were pouring in—hundreds within minutes. But my excitement quickly turned to concern.
Upon closer inspection, I realised that thousands of dollars in fraudulent transactions had been blocked in just a few minutes, all originating from the same country. We were under a coordinated payment attack.
I couldn't believe it.
Payment attacks are more than just a nuisance—they can have serious implications:
According to research by Juniper Research, payment fraud losses are expected to exceed $343 billion globally between 2023-2027. It's a widespread issue that can hit anyone, with fraudsters becoming increasingly sophisticated in their attack methods.
With our focus already split, we needed to act fast. Here's what we did:
I noticed all the fraudulent attempts were coming from a single country (PK). Using Stripe's Radar rules, I set up a temporary rule to block transactions originating from that country. This immediately reduced the number of incoming fraudulent attempts.
We lowered the risk threshold in Stripe Radar from 75% to 50%. This made our fraud detection more sensitive, catching more suspicious transactions before they could proceed.
We dove deeper into Stripe Radar's advanced features:
To further enhance our security measures, we Vercel Firewall's challenge system into our stack. This powerful tool helps verify legitimate users through an intelligent, customisable challenge mechanism, providing an additional layer of protection for our platform.
After posting about our situation on X, I was amazed by how many founders reached out sharing their own payment attack stories. It seems this is a more common issue than we thought, especially during high-visibility events like launches.
Looking back, we realised that even with strong security measures in place, unexpected attacks can still occur. The key is how quickly and effectively you respond.
Stay Vigilant During High-Profile Events Launches can attract unwanted attention. We monitored our systems closely but learnt that real-time adjustments are crucial.
Leverage All Available Security Tools Platforms like Stripe offer robust features—make sure you're utilising them fully. The advanced settings in Stripe Radar were instrumental in mitigating the attack.
Community Support Is Invaluable The advice and support we received helped us act swiftly and effectively.
Security Is an Ongoing Process Threats evolve, and so should your defences. Regularly review and update your security protocols.
We're taking additional steps to bolster our defences:
Last night was a wake-up call. It wasn't how we planned to spend our launch night, but it taught us valuable lessons.
To everyone who offered advice and support—thank you. Your insights made a tough situation manageable.
If you're running a business or planning a launch, take our experience as a reminder: even when you think you're prepared, there's always more you can do to protect yourself and your customers.
Cheers,
Richie McIlroy — Founder of Cap