Skip to content

Commit

Permalink
+Fix:Curl Connect
Browse files Browse the repository at this point in the history
  • Loading branch information
feyzullahdemir committed Feb 20, 2023
1 parent fc8f126 commit 4e1f3f9
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 5 deletions.
Binary file modified .DS_Store
Binary file not shown.
Binary file modified upload/.DS_Store
Binary file not shown.
Binary file modified upload/admin/.DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion upload/admin/controller/extension/payment/iyzico.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
class ControllerExtensionPaymentIyzico extends Controller {
private $module_version = '2.4';
private $module_version = '2.5';

private $error = array();

Expand Down
2 changes: 1 addition & 1 deletion upload/admin/model/extension/payment/iyzico.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ public function curlPost($json,$authorizationData,$url) {
}
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, 0);
curl_setopt($curl, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0);
curl_setopt($curl, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_NONE);
curl_setopt($curl, CURLOPT_TIMEOUT, 10);

curl_setopt(
Expand Down
4 changes: 2 additions & 2 deletions upload/catalog/controller/extension/payment/iyzico.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
class ControllerExtensionPaymentIyzico extends Controller {

private $module_version = VERSION;
private $module_product_name = 'eleven-2.4';
private $module_product_name = 'eleven-2.5';

private $paymentConversationId;
private $webhookToken;
Expand Down Expand Up @@ -250,7 +250,7 @@ public function getCallBack($webhook = null, $webhookPaymentConversationId = nul

if($webhook == "webhook" )
{

$order_id = $request_response->basketId;
$order_info = $this->model_checkout_order->getOrder($order_id);

Expand Down
2 changes: 1 addition & 1 deletion upload/catalog/model/extension/payment/iyzico.php
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ public function curlPost($json,$authorization_data,$url) {
}
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, 0);
curl_setopt($curl, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0);
curl_setopt($curl, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_NONE);
curl_setopt($curl, CURLOPT_TIMEOUT, 150);

curl_setopt(
Expand Down

0 comments on commit 4e1f3f9

Please sign in to comment.