• Resolved Ken Brubacher

    (@innovative4082)


    This does not seem to block card testing.

    This does not seem to block card testing. We observed new accounts being created, with one add-payment-method attempt per account.

    That renders this filter ineffective.
    add_filter( 'woocommerce_payment_gateway_add_payment_method_delay', function() {
    return 3600;
    } );
    We are using the NMI gateway with the Pledged Plugins Enterprise plugin.

    CAPTCHA is enabled on registration and login. Guest checkout is on.

    [root@server ~]# zcat /home/account/logs/example.com-Oct-2026.gz /home/account/logs/example.com-ssl_log-Oct-2026.gz | awk '$1 == "184.179.162.7"'

    184.179.162.7 - - [28/Oct/2026:10:13:51 -0400] "GET /my-account/add-payment-method/ HTTP/1.1" 200 33196 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:156.0) Gecko/20100101 Firefox/156.0"

    184.179.162.7 - - [28/Oct/2026:10:14:07 -0400] "POST /my-account/add-payment-method/ HTTP/1.1" 302 0 "https://example.com/my-account/add-payment-method/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:156.0) Gecko/20100101 Firefox/156.0"

    184.179.162.7 - - [28/Oct/2026:10:14:08 -0400] "GET /my-account/add-payment-method/ HTTP/1.1" 200 32521 "https://example.com/my-account/add-payment-method/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:156.0) Gecko/20100101 Firefox/156.0"

    184.179.162.7 - - [28/Oct/2026:10:14:11 -0400] "GET /my-account/add-payment-method/ HTTP/1.1" 200 32521 "https://example.com/my-account/edit-address/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:156.0) Gecko/20100101 Firefox/156.0"

    184.179.162.7 - - [28/Oct/2026:10:14:18 -0400] "POST /my-account/add-payment-method/ HTTP/1.1" 200 32534 "https://example.com/my-account/add-payment-method/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:156.0) Gecko/20100101 Firefox/156.0"

    [root@server ~]#
Viewing 1 replies (of 1 total)
  • Plugin Contributor Ali Khallad

    (@alikhallad)

    Hey @innovative4082

    WooCommerce’s add-payment-method rate limit is associated with the user account, so a bot that creates a new account for each attempt never hits it, whatever delay you set.

    Checkout Shield (the free version) only protects the checkout itself, so it won’t see this traffic. Two things that do help here: restrict “add payment method” to customers who already have a completed order. This can be done with woocommerce_add_payment_method_form_is_valid filter. Bot filtering in front of the site (Cloudflare Turnstile or a rate rule on /my-account/add-payment-method/) also helps.

    So, Checkout Shield protects the checkout page, and also prevent spam accounts that do card testing, but the last one is only on Pro version. Also, this payment method pattern is something we are seeing on other stores, and we’re looking at covering it in the Pro version as well.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.