fixing redirect

This commit is contained in:
Cyprian Beauvois 2019-07-16 18:10:03 +02:00
parent e08c583b72
commit ca5cae597a
1 changed files with 1 additions and 1 deletions

View File

@ -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) {