8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97e417f commit 825e937Copy full SHA for 825e937
src/Omnipay/Ecopayz/Message/CompletePurchaseRequest.php
@@ -13,12 +13,6 @@
13
*/
14
class CompletePurchaseRequest extends FetchTransactionRequest
15
{
16
- private $trustedIps = array(
17
- '213.129.76.104', '213.129.76.105',
18
- '217.21.162.163', '217.21.162.164',
19
- '176.57.42.131', '176.57.42.132'
20
- );
21
-
22
/**
23
* Get the data for this request.
24
*
@@ -32,14 +26,6 @@ public function getData()
32
26
'merchantPassword'
33
27
);
34
28
35
- if (!$this->getTestMode()) {
36
37
- if (!in_array($this->httpRequest->getClientIp(), $this->trustedIps)) {
38
- throw new InvalidRequestException('IP Address is invalid to access this function');
39
- }
40
41
42
43
29
if ($xml = $this->httpRequest->request->get('XML')) {
44
30
45
31
if (!$this->validateChecksum($xml)) {
0 commit comments