From 963921e4f8351e502532cf4e552bccc749f69677 Mon Sep 17 00:00:00 2001 From: zeydduran Date: Fri, 17 Dec 2021 16:34:06 +0300 Subject: [PATCH] Update GarantiPos.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Garanti sanal pos 3d_pay modelinde response null döndürme sorunu düzeltildi --- src/Gateways/GarantiPos.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Gateways/GarantiPos.php b/src/Gateways/GarantiPos.php index c071f33b..b7138c10 100644 --- a/src/Gateways/GarantiPos.php +++ b/src/Gateways/GarantiPos.php @@ -710,7 +710,7 @@ protected function map3DPayResponseData($raw3DAuthResponseData) $response = 'Approved'; } - $this->response = (object) [ + return (object) [ 'id' => (string) $raw3DAuthResponseData['authcode'], 'order_id' => (string) $raw3DAuthResponseData['oid'], 'trans_id' => (string) $raw3DAuthResponseData['transid'],