cancel
Showing results for 
Search instead for 
Did you mean: 

Configuring Wordfence plugin to work with Authorize.net

I recently ran into an issue between the Wordfence plugin and the authorize.net payment process and want to share the solution.

 

One of the Wordfence options is “Block IPs who send POST requests with blank User-Agent and Referer".  This is a very useful option, but it can interfere with Authorize.net passing the order confirmation back to the originating website.  In our case, orders were completed but the user was redirected to an error page on authorize.net.

 

Here is what I did to resolve the issue and keep the Wordfence plugin.

 

Go to Wordfence > Options

 

  • If checked, uncheck the option for “Block IPs who send POST requests with blank User-Agent and Referer"
  • Add authorize.net IP addresses to the options whitelist field (Whitelisted IP addresses that bypass all rules)
  • Enable live traffic and look for blocked IPs for any authorize.net IP addresses
    1. Unblock them and add them to the whitelist

After testing that the ordering process is working, recheck the Wordfence option "Block IPs who send POST requests with blank User-Agent and Referer"

 

Authorize.net IP Addresses:

198.241.162.22,

198.241.162.12,

198.241.168.122,

198.241.168.121,

198.241.162.10,

198.241.162.56,

198.241.168.128,

198.241.168.129,

198.241.150.64,

198.241.150.63,

198.241.168.133,

198.241.168.134,

198.241.168.60,

198.241.162.104

candyapple715
Member
1 REPLY 1

Thank you @candyapple715 for posting.

 

Richard

RichardH
Administrator Administrator
Administrator