From 00d216fc917361a8b62e5f4b2f41ecb581f9e3b4 Mon Sep 17 00:00:00 2001 From: Christopher Luna Date: Mon, 28 Aug 2023 12:35:46 -0400 Subject: [PATCH] Update API endpoint for MaxMind web services MaxMind is beginning to enforce policies around its API endpoints. Endpoints should use the correct hostname for the product or service, and should always use HTTPS. [Release Note.](https://dev.maxmind.com/geoip/release-notes/2023#api-policies---temporary-enforcement-on-october-17-2023) --- bb-library/Hook/MaxMind.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bb-library/Hook/MaxMind.php b/bb-library/Hook/MaxMind.php index 19a70e6..343260e 100644 --- a/bb-library/Hook/MaxMind.php +++ b/bb-library/Hook/MaxMind.php @@ -90,7 +90,7 @@ public static function onBeforeClientCheckout(Box_Event $event) else { - $url='https://minfraud2.maxmind.com/app/ccv2r?'.http_build_query($rp); + $url='https://minfraud.maxmind.com/app/ccv2r?'.http_build_query($rp); $content = file_get_contents($url); // enable this to debug response to the screen when clicking checkout button @@ -212,4 +212,4 @@ public static function onBeforeClientSignUp(Box_Event $event) } -} \ No newline at end of file +}