fixing redirect
This commit is contained in:
parent
e08c583b72
commit
ca5cae597a
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue