cancel
Showing results for 
Search instead for 
Did you mean: 

Getting noroute() action undefined error in some payment gateway

Getting noroute() action undefined error in some payment gateway

Ebs\\Payment\\Controller\\Standard\\Success->noRouteAction()

Can any one please help me to resolve this error.

{"0":"Notice: Undefined property: Ebs\\Payment\\Controller\\Standard\\Success\\Interceptor::$url in \/var\/www\/html\/app\/code\/Ebs\/Payment\/Controller\/Standard\/Success.php on line 182","1":"<pre>#1 Ebs\\Payment\\Controller\\Standard\\Success->noRouteAction() called at [app\/code\/Ebs\/Payment\/Controller\/Standard\/Success.php:117]\n#2 Ebs\\Payment\\Controller\\Standard\\Success->execute() called at [vendor\/magento\/framework\/App\/Action\/Action.php:108]\n#3 Magento\\Framework\\App\\Action\\Action->dispatch() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:58]\n#4 Ebs\\Payment\\Controller\\Standard\\Success\\Interceptor->___callParent() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:138]\n#5 Ebs\\Payment\\Controller\\Standard\\Success\\Interceptor->Magento\\Framework\\Interception\\{closure}() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:153]\n#6 Ebs\\Payment\\Controller\\Standard\\Success\\Interceptor->___callPlugins() called at [generated\/code\/Ebs\/Payment\/Controller\/Standard\/Success\/Interceptor.php:26]\n#7 Ebs\\Payment\\Controller\\Standard\\Success\\Interceptor->dispatch() called at [vendor\/magento\/framework\/App\/FrontController.php:159]\n#8 Magento\\Framework\\App\\FrontController->processRequest() called at [vendor\/magento\/framework\/App\/FrontController.php:99]\n#9 Magento\\Framework\\App\\FrontController->dispatch() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:58]\n#10 Magento\\Framework\\App\\FrontController\\Interceptor->___callParent() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:138]\n#11 Magento\\Framework\\App\\FrontController\\Interceptor->Magento\\Framework\\Interception\\{closure}() called at [vendor\/magento\/module-store\/App\/FrontController\/Plugin\/RequestPreprocessor.php:94]\n#12 Magento\\Store\\App\\FrontController\\Plugin\\RequestPreprocessor->aroundDispatch() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:135]\n#13 Magento\\Framework\\App\\FrontController\\Interceptor->Magento\\Framework\\Interception\\{closure}() called at [vendor\/magento\/module-page-cache\/Model\/App\/FrontController\/BuiltinPlugin.php:73]\n#14 Magento\\PageCache\\Model\\App\\FrontController\\BuiltinPlugin->aroundDispatch() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:135]\n#15 Magento\\Framework\\App\\FrontController\\Interceptor->Magento\\Framework\\Interception\\{closure}() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:153]\n#16 Magento\\Framework\\App\\FrontController\\Interceptor->___callPlugins() called at [generated\/code\/Magento\/Framework\/App\/FrontController\/Interceptor.php:26]\n#17 Magento\\Framework\\App\\FrontController\\Interceptor->dispatch() called at [vendor\/magento\/framework\/App\/Http.php:137]\n#18 Magento\\Framework\\App\\Http->launch() called at [vendor\/magento\/framework\/App\/Bootstrap.php:261]\n#19 Magento\\Framework\\App\\Bootstrap->run() called at [index.php:39]\n<\/pre>","url":"\/ebs\/standard\/success","script_name":"\/index.php"}

1 REPLY 1

Re: Getting noroute() action undefined error in some payment gateway

Hi @abhisekhranjan ,

 

First of all check do you have $url field in your controller file

Ebs\\Payment\\Controller\\Standard\\Success

 

If $url is not there, then try to run the setup:di:compile command to overcome the issue.

 

Hope this helps you!

Problem Solved! Click Kudos & Accept as Solution!