From 623103de0bab1369011cca18874b6000ef8baaf7 Mon Sep 17 00:00:00 2001 From: Nicolas Barbey Date: Tue, 29 Aug 2023 15:26:13 +0200 Subject: [PATCH] fix response callback --- Config/module.xml | 2 +- Controller/CmcicPayResponse.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Config/module.xml b/Config/module.xml index 0d020f3..06b7bbc 100755 --- a/Config/module.xml +++ b/Config/module.xml @@ -14,7 +14,7 @@ fr_FR en_US - 2.0.0 + 2.0.1 Thelia diff --git a/Controller/CmcicPayResponse.php b/Controller/CmcicPayResponse.php index cf54db4..5af5c42 100755 --- a/Controller/CmcicPayResponse.php +++ b/Controller/CmcicPayResponse.php @@ -140,7 +140,7 @@ public function receiveResponse(EventDispatcherInterface $eventDispatcher) */ $log->setDestinations("\\Thelia\\Log\\Destination\\TlogDestinationRotatingFile"); - return Response::create( + return new Response( sprintf(CmCIC::CMCIC_CGI2_RECEIPT, $response), 200, array(