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'],