#zhex1_
1 messages · Page 1 of 1 (latest)
Hello sir
There are attacks on my website.
When a person makes more than 2 unsuccessful attempts in 24 hours, I have to ban them for 1 day.
I need such a rule.
Gotcha well you want to look at https://stripe.com/docs/radar/rules/supported-attributes for the supported attributes that you can use in a rule
If 2 unsuccessful attempts are made in one day, i need to block 24 hours.
So you probably want something from https://stripe.com/docs/radar/rules/supported-attributes#charges-that-were-blocked
Like blocked_charges_per_customer_daily
I wrote a few rules here but it doesn't work, probably I didn't create the rule I explained correctly.
Block if :declined_charges_per_card_number_daily: > 1 and :card_count_for_customer_daily: > 2
Are you adding a new Card each time you try to charge?
Overall these rules depend on your integration
So hard for me to say why it wouldn't work like you expect
Mostly you need to test it out!
When I look at the attacks, an order is created and more than 10 card payment attempts are made within minutes.
I added a rule that prevents a customer from using more than 2 different cards, but it doesn't work 😦
Were the attempts blocked?
If not, then like I said you need to test out doing the same thing in test mode
And then try different rules to see which ones would work
When you enable a rule, it should tell you which payments it would have blocked
So that should help you when testing