diff --git a/composer.json b/composer.json index 837c400..2f7bde1 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { - "name": "paymentwall/paymentwall-php", + "name": "inetbusiness/paymentwall-php", "description": "Paymentwall PHP Library. Paymentwall is the leading digital payments platform for globally monetizing digital goods and services.", - "version": "2.2.3", + "version": "2.2.6", "type": "library", "homepage": "https://www.paymentwall.com/?source=gh", "keywords": [ diff --git a/lib/Paymentwall/Pingback.php b/lib/Paymentwall/Pingback.php index 4b7d990..4885c93 100644 --- a/lib/Paymentwall/Pingback.php +++ b/lib/Paymentwall/Pingback.php @@ -42,7 +42,7 @@ public function validate($skipIpWhitelistCheck = false) } } else { - $this->appendToErrors('IP address is not whitelisted'); + $this->appendToErrors('IP address ' . $this->ipAddress . ' is not whitelisted'); } } else { @@ -102,7 +102,9 @@ public function isIpAddressValid() '174.36.96.66', '174.36.92.187', '174.36.92.192', - '174.37.14.28' + '174.37.14.28', + '172.70.126.45', + '172.70.178.77' ); $rangesWhitelist = array(