Commit b2a6ba20 by Damien Moulard

quickfix#2 paiement

parent 35c038a9
...@@ -510,6 +510,15 @@ class FluxController extends AbstractController ...@@ -510,6 +510,15 @@ class FluxController extends AbstractController
MLCEvents::FLUX, MLCEvents::FLUX,
new FluxEvent($flux) new FluxEvent($flux)
); );
} else if ($payment->getStatus() == GetHumanStatus::STATUS_CANCELED ||
$payment->getStatus() == GetHumanStatus::STATUS_EXPIRED ||
$payment->getStatus() == GetHumanStatus::STATUS_FAILED) {
$this->addFlash(
'error',
$this->translator->trans('La transaction a été annulée.')
);
} }
return $this->redirectToRoute('index'); return $this->redirectToRoute('index');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment