App for Cloudflare® Pro

App for Cloudflare® Pro 1.10.0

  • Item seller Item seller Shawn
  • Featured

whitelisting the MultiSafepay IP

recommend whitelisting the MultiSafepay IP 185.99.128.0/24
ranges in your Cloudflare configuration
whei i try this i got this error.

Firewall Rules Create rule

Last App For Cloudflare® error:

Cloudflare: Bad Request / {"result":null,"success":false,"errors":[{"message":"firewallaccessrules.api.validation_error:invalid mode received: \"allow\""}],"messages":[]}

POST https://api.cloudflare.com/client/v...a5141df24fd3e64ae/firewall/access_rules/rules

{"headers":{"Content-Type":"application\/json","Authorization":"Bearer ******"},"json":{"mode":"allow","configuration":{"target":"ip_range","value":"185.99.128.0\/24"},"notes":"Multisafepay 1e"}}
 
So it looks like Cloudflare changed their mode in their API from allow to whitelist for whatever reason (a bit annoying they did that).

I've updated it for the next version, but if you want it now, you can edit the wp-content/plugins/app-for-cf-pro/src/DigitalPoint/Cloudflare/Admin/Template/FirewallIpCreate.php file and change this:
HTML:
<option value="allow">
...to this:
HTML:
<option value="whitelist">
 
Back
Top