From ca5cae597a7753dac88c2a5fddd4bce189d0da83 Mon Sep 17 00:00:00 2001 From: cbeauvoi Date: Tue, 16 Jul 2019 18:10:03 +0200 Subject: [PATCH] fixing redirect --- BillingBundle/Controller/BillingController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BillingBundle/Controller/BillingController.php b/BillingBundle/Controller/BillingController.php index 1cb40d5..760db6a 100644 --- a/BillingBundle/Controller/BillingController.php +++ b/BillingBundle/Controller/BillingController.php @@ -33,7 +33,7 @@ class BillingController extends AbstractController if ($event->type == 'checkout.session.completed') { $session = $event->data->object; - return $this->redirectToRoute($this->container->getParameter('payment_confirmation_route'), $session); + return $this->redirectToRoute($this->container->getParameter('payment_confirmation_route'), (array) $session); } } catch(\UnexpectedValueException $e) {