From 4e1f3f95a2a7884e1c2fe45ffd57775d9c1db9e2 Mon Sep 17 00:00:00 2001 From: feyzullah Demir <101548542+feyzullahdemir@users.noreply.github.com> Date: Mon, 20 Feb 2023 11:24:00 +0300 Subject: [PATCH] +Fix:Curl Connect --- .DS_Store | Bin 6148 -> 6148 bytes upload/.DS_Store | Bin 6148 -> 6148 bytes upload/admin/.DS_Store | Bin 8196 -> 8196 bytes .../controller/extension/payment/iyzico.php | 2 +- .../admin/model/extension/payment/iyzico.php | 2 +- .../controller/extension/payment/iyzico.php | 4 ++-- .../model/extension/payment/iyzico.php | 2 +- 7 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.DS_Store b/.DS_Store index bb0f8befc30fa683d150199ac528c2a873b6c244..e778c28583178792cd98dbac09131f882fa3fd8e 100644 GIT binary patch delta 20 bcmZoMXffC@hmqabz*I-U!g%vy#zZjyL8}GY delta 20 bcmZoMXffC@hmqaHSVzIo*nIP1#zZjyL5~I5 diff --git a/upload/.DS_Store b/upload/.DS_Store index ea38408e208735503af28cb0b93b35382dddc747..bbccd1a2693bed10e1f8012db6aa4be7a798a03b 100644 GIT binary patch delta 46 zcmZoMXffEJ%EGvP@>};yqS&TA3p$0 CJPr#0 delta 21 dcmZoMXffEJ$})L1>z>UISk#y|vvd6A2LM>`2hRWi diff --git a/upload/admin/.DS_Store b/upload/admin/.DS_Store index 465824899bc02e99223e43d90d968344b1637dfe..0cd4f9086ed541d1b4b5ac90a59db9ded9b43cb5 100644 GIT binary patch delta 18 ZcmZp1XmQxUA;`!u*-%hov!dW*J^(U31r`7R delta 18 ZcmZp1XmQxUA;`!$*-%hov!dW*J^(UD1s4DS diff --git a/upload/admin/controller/extension/payment/iyzico.php b/upload/admin/controller/extension/payment/iyzico.php index b7378e1..ca9449d 100644 --- a/upload/admin/controller/extension/payment/iyzico.php +++ b/upload/admin/controller/extension/payment/iyzico.php @@ -1,6 +1,6 @@ basketId; $order_info = $this->model_checkout_order->getOrder($order_id); diff --git a/upload/catalog/model/extension/payment/iyzico.php b/upload/catalog/model/extension/payment/iyzico.php index 1b371e1..8fde505 100644 --- a/upload/catalog/model/extension/payment/iyzico.php +++ b/upload/catalog/model/extension/payment/iyzico.php @@ -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(