|
@@ -294,10 +294,9 @@ |
|
|
block discarded – undo |
|
294
|
294
|
|
|
295
|
295
|
// Set PayPal API Request Endpoint. |
|
296
|
296
|
$post_url = ($method === 'verifyipn') ? |
|
297
|
|
- $this->config['gateway_url'].'/cgi-bin/webscr' : |
|
298
|
|
- $this->config['api_url']; |
|
|
297
|
+ $this->config['gateway_url'].'/cgi-bin/webscr' : $this->config['api_url']; |
|
299
|
298
|
|
|
300
|
|
- $this->post = $this->post->filter(function ($value, $key) use($method) { |
|
|
299
|
+ $this->post = $this->post->filter(function($value, $key) use($method) { |
|
301
|
300
|
return (($method === 'verifyipn') && ($key === 'METHOD')) ? '' : $value; |
|
302
|
301
|
})->merge($this->options); |
|
303
|
302
|
|
Please login to merge, or discard this patch.