I've installed Payum in my Symfony 5 project (using these instructions ). When I try to call the route /payment/capture/qrak82BzjIVUnylasjXwwC5q3DKw7EPJYQ1z1IYHaHY Symfony finds the route but doesn't even arrive to open the relative controller, because it gives me the error:
"Payum\Bundle\PayumBundle\Controller\CaptureController" has no container set, did you forget to define it as a service subscriber"?
I googled for that error, but it seems extremely rare and I don't understand how to fix the problem.
Payum integration in Symfony 5 returns error "no container set"
669 Views Asked by lorenzo89 At
2
I found the answer at https://github.com/Payum/Payum/issues/850
zspine commented 25 days ago
As a temporary fix I have configured the service manually under
config/services.yamland it works ...Also digging deeper from that post, theres a link to https://github.com/Payum/PayumBundle/issues/507
Having more of the services
config/services.yaml