Skip to content

Commit

Permalink
CURLOPT_SSL_CIPHER_LIST removed
Browse files Browse the repository at this point in the history
  • Loading branch information
agnagna committed Feb 3, 2015
1 parent 3f0e190 commit 0c0bd75
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion app/code/community/PayU/Account/Model/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
class PayU_Account_Model_Config
{
/** @var string self version */
protected $_pluginVersion = '2.1.4';
protected $_pluginVersion = '2.1.5';

/** @var string minimum Magento e-commerce version */
protected $_minimumMageVersion = '1.6.0';
Expand Down
1 change: 0 additions & 1 deletion app/code/community/PayU/Account/Model/Payment.php
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,6 @@ public function orderCreateRequest(Mage_Sales_Model_Order $order, $allShippingRa
$OCReq ['customerIp'] = Mage::app ()->getFrontController ()->getRequest ()->getClientIp ();
$OCReq ['notifyUrl'] = $this->_myUrl . 'orderNotifyRequest';
$OCReq ['cancelUrl'] = $this->_myUrl . 'cancelPayment';
// $OCReq ['completeUrl'] = $this->_myUrl . 'completePayment';
$OCReq ['continueUrl'] = $this->_myUrl . 'continuePayment';
$OCReq ['currencyCode'] = $orderCurrencyCode;
$OCReq ['totalAmount'] = $shoppingCart ['grandTotal'];
Expand Down
2 changes: 0 additions & 2 deletions lib/payu/sdk_v21/OpenPayU/HttpCurl.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,9 @@ public static function doRequest($requestType, $pathUrl, $data, $posId, $signatu
curl_setopt($ch, CURLOPT_HEADERFUNCTION, 'OpenPayU_HttpCurl::readHeader');
curl_setopt($ch, CURLOPT_POSTFIELDS, (OpenPayU_Configuration::getApiVersion() < 2) ? 'DOCUMENT=' . urlencode($data) : $data);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_SSLVERSION, 1);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 10);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_SSL_CIPHER_LIST, 'TLSv1');
curl_setopt($ch, CURLOPT_TIMEOUT, 60);
curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($ch, CURLOPT_USERPWD, $userNameAndPassword);
Expand Down
4 changes: 0 additions & 4 deletions lib/payu/sdk_v21/OpenPayU/OpenPayUNetwork.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,11 +142,9 @@ public static function sendDataAuth($url, $doc, $authData)
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $doc);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, false);
curl_setopt($ch, CURLOPT_SSLVERSION, 1);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 10);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_SSL_CIPHER_LIST, 'TLSv1');
curl_setopt($ch, CURLOPT_HEADER, false);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

Expand All @@ -170,11 +168,9 @@ public static function sendData($url, $doc)
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $doc);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, false);
curl_setopt($ch, CURLOPT_SSLVERSION, 1);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 10);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_SSL_CIPHER_LIST, 'TLSv1');
curl_setopt($ch, CURLOPT_HEADER, false);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

Expand Down

0 comments on commit 0c0bd75

Please sign in to comment.