From 70fe1941ad168c0611d96ccefbd0539e7e5f0381 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=B0rfan=20Evrens?= Date: Fri, 26 Jun 2015 09:47:54 +0300 Subject: [PATCH] Fixed switch case logical problem. --- lib/PayPal/Core/PayPalHttpConnection.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/PayPal/Core/PayPalHttpConnection.php b/lib/PayPal/Core/PayPalHttpConnection.php index ffc05d2..0cbe5aa 100644 --- a/lib/PayPal/Core/PayPalHttpConnection.php +++ b/lib/PayPal/Core/PayPalHttpConnection.php @@ -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':