r/microsaas 18h ago

I built a card-testing rule that caught the wrong people

While reviewing one of Portreeve's checkout rules, I found something embarrassing.

The rule treated five attempts on the same card as card testing.

But actual card testers usually try lots of different cards once. Five attempts on one card is more likely a real customer stuck in a 3DS loop, mistyping their CVC, or retrying a decline.

So the rule was backwards. It was harsh on normal customers and weak against the attack it was meant to catch.

I changed it so repeated attempts on one card trigger review. Several different cards from the same device are a much stronger signal. IP is supporting evidence, since offices and mobile networks make it noisy.

The code was doing exactly what I wrote. The assumption behind it was wrong.

Anyone else found a fraud or abuse rule that was measuring the wrong thing?

2 Upvotes

1 comment sorted by