From 9e760c292260d80994ada7fa358f949a5d4853cc Mon Sep 17 00:00:00 2001 From: magicsux Date: Fri, 29 Jul 2022 20:24:40 +0200 Subject: [PATCH 1/4] new ipaddress added added IP address from test pingback site and more useful debug notice --- lib/Paymentwall/Pingback.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/Paymentwall/Pingback.php b/lib/Paymentwall/Pingback.php index 4b7d990..5055454 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,8 @@ 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' ); $rangesWhitelist = array( From a5080241e61ac4a9b9e88658dbb5733c71adc890 Mon Sep 17 00:00:00 2001 From: magicsux Date: Sun, 31 Jul 2022 09:56:49 +0200 Subject: [PATCH 2/4] Update composer.json --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 837c400..cd47160 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.5", "type": "library", "homepage": "https://www.paymentwall.com/?source=gh", "keywords": [ From 3c83cab6da7525cd7661e398877103444ee70ebe Mon Sep 17 00:00:00 2001 From: magicsux Date: Sun, 31 Jul 2022 10:02:23 +0200 Subject: [PATCH 3/4] Update Pingback.php --- lib/Paymentwall/Pingback.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Paymentwall/Pingback.php b/lib/Paymentwall/Pingback.php index 5055454..4885c93 100644 --- a/lib/Paymentwall/Pingback.php +++ b/lib/Paymentwall/Pingback.php @@ -103,7 +103,8 @@ public function isIpAddressValid() '174.36.92.187', '174.36.92.192', '174.37.14.28', - '172.70.126.45' + '172.70.126.45', + '172.70.178.77' ); $rangesWhitelist = array( From 8981f3b15941a3ab361e2cd030af7ba82041d35d Mon Sep 17 00:00:00 2001 From: magicsux Date: Sun, 31 Jul 2022 10:04:25 +0200 Subject: [PATCH 4/4] Update composer.json --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index cd47160..2f7bde1 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "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.5", + "version": "2.2.6", "type": "library", "homepage": "https://www.paymentwall.com/?source=gh", "keywords": [