Reply
Member
Posts: 2
Registered: ‎03-21-2017

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

Posts: 2,765
Topics: 57
Kudos: 269
Blog Posts: 67
Registered: ‎12-05-2011

Re: Configuring Wordfence plugin to work with Authorize.net

Thank you @candyapple715 for posting.

 

Richard