Arethe checks now passing @akust0m? I suspect that the billing region that whmcs sends back to MaxMind doesn't match what they use i'd recommend enabling the module log and running a check to see what the module log shows as being sent to MaxMind then check maxmind's Region list to see the region shows in their site
@akust0m It looks like this issue has been resolved with case MODULE-6825 released today as part of WHMCS v7.6.1 I would recommend downloading it from or using the automatic updater to apply this to your installation.
I just updated to 7.6.1 and am still receiving the error. It appears the call is not sending the ISO 3166-2 subdivision code that MaxMind requires for region. I checked the module log and it has "[region] => Colorado" I believe this should be "[region] => CO" (Edit as I look at more links. Should it actually be USCO? _3166-2:US
As time passes..... It seems to only be happening when a client logs in to renew a domain before the invoice has been automatically created by WHMCS. I have invoices being created 14 days before renewal. I don't see the error when someone logs in to pay an invoice that already exists.
It seems to occur when they login, click to renew the domain which creates the order and invoice. When they try to pay using a credit card (stripe) they get the IP country related error. NetEarth One is the registrar.
From the module log the error returned from MaxMind is the same as the OP's ([warning] => Encountered value at /billing/region that does not meet the required constraints) so I assumed the error was the same.
I just noticed what the OP said about Service Type being "Insights" instead of score. ? I have changed the Service Type to "insights" to see if that resolves the problem. Will need to wait for another transaction to see what happens. Up till now I have needed to uncheck "Block orders where order address is different from IP Location" to get the transaction to go through. Like the OP I assume the region error will continue so have included the additional information you requested.
I am running in to the same issue here. I have 7.6.1 installed and using the MaxMind Score. The scores are all coming back less that 1 on the risk score and WHMCS is marking them all as Fraud. We were getting the error last night that the IP did not match the users address but it did.
Yes And I have updated to 7.6.1. I was using score only but have changed it to insights to see if I get any different results but I haven't gotten a new order yet. The Scores were way below my set threshold and WHMCS was still marking them as fraud. I reached out to MaxMind as well thinking it was something on their end but they said many customers have reached out to them but it's an issue on WHMCS's side and that when I saw this
I had the same issue, with the same directions. Guessing newer swag builds have a default maxmind.conf file. When creating one from scratch the section to assign the variable for the country_iso_code needs to be added. Same with adding a local ip if desired. Here is what my working file looks like.
I wanted to upgrade my caddy install to the latest version. I also use maxmind-geolocation for geoblocking, so I have a Dockerfile to build a caddy image and install the module. That worked before, but now I get an error when trying to build it, no matter if I use an old version of caddy or the latest one.
I cannot set up my own domain. Every time I attempt to do so, the website says maxmind error, address not recognised. I am willing to pay for the professional plan, but it will not let me. I have tried different home addresses, different IP addresses, and different domain names, but nothing has worked. Can someone please help me with this as I need it done for college.
3a8082e126