|
@@ -120,7 +120,7 @@ discard block |
|
|
block discarded – undo |
|
120
|
120
|
|
|
121
|
121
|
if ($this instanceof \Srmklive\PayPal\Services\AdaptivePayments) { |
|
122
|
122
|
$this->setAdaptivePaymentsOptions($mode); |
|
123
|
|
- } elseif($this instanceof \Srmklive\PayPal\Services\ExpressCheckout) { |
|
|
123
|
+ } elseif ($this instanceof \Srmklive\PayPal\Services\ExpressCheckout) { |
|
124
|
124
|
$this->setExpressCheckoutOptions($credentials, $mode); |
|
125
|
125
|
} else { |
|
126
|
126
|
throw new \Exception("Invalid api credentials provided for PayPal!. Please provide the right api credentials."); |
|
@@ -272,7 +272,7 @@ discard block |
|
|
block discarded – undo |
|
272
|
272
|
|
|
273
|
273
|
// Checking Whether The Request Is PayPal IPN Response |
|
274
|
274
|
if ($method == 'verifyipn') { |
|
275
|
|
- $this->post = $this->post->filter(function ($value, $key) { |
|
|
275
|
+ $this->post = $this->post->filter(function($value, $key) { |
|
276
|
276
|
if ($key !== 'METHOD') { |
|
277
|
277
|
return $value; |
|
278
|
278
|
} |
Please login to merge, or discard this patch.