Closed ShapesGraphicStudio closed 7 years ago
I think I solved this by adding in routing.yml :
lexik_paybox_sample_call:
path: /
defaults: { _controller: LexikPayboxBundle:Sample:index }
lexik_paybox_sample_return:
path: /payment/return/{status}
defaults: { _controller: LexikPayboxBundle:Sample:return, status: error }
requirements:
status: success|canceled|denied
Hello,
I'm trying to implement PayBox payment but I get the error : An exception has been thrown during the rendering of a template ("Unable to generate a URL for the named route "lexik_paybox_sample_return" as such route does not exist."
In my twig I call the controller with :
{{ render(controller('LexikPayboxBundle:Sample:call')) }}
Any idea on what I could be missing or doing wrong please ?