forked from LiveCarta/PayPal-PHP-SDK
Fixed switch case logical problem.
This commit is contained in:
@@ -93,6 +93,8 @@ class PayPalHttpConnection
|
||||
switch ($this->httpConfig->getMethod()) {
|
||||
case 'POST':
|
||||
curl_setopt($ch, CURLOPT_POST, true);
|
||||
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
|
||||
break;
|
||||
case 'PUT':
|
||||
case 'PATCH':
|
||||
case 'DELETE':
|
||||
|
||||
Reference in New Issue
Block a user