You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
at first I must say your library is great and it saves a lot of time. Thank you for the excellent work!
While implementing this module I had a strange behaviour. I saw the following message over and over in the PHP error log but the module was working like expected:
Zend\View\Renderer\PhpRenderer::render: Unable to render template "payum/capture/do"; resolver could not resolve to a file
It turnded out the ZF2 redirect plugin just sends the HTTP redirection header, but the initial request is processed to the end at the server. I found out that instead of just using $this->redirect()->toUrl($reply->getUrl());
within your controllers, you should return it(or false) to prevent further processing of the request. (@seehttp://framework.zend.com/manual/current/en/modules/zend.mvc.plugins.html#redirect-plugin)
The text was updated successfully, but these errors were encountered:
NiMeDia
added a commit
to NiMeDia/PayumModule
that referenced
this issue
Nov 9, 2015
Hey guys,
at first I must say your library is great and it saves a lot of time. Thank you for the excellent work!
While implementing this module I had a strange behaviour. I saw the following message over and over in the PHP error log but the module was working like expected:
Zend\View\Renderer\PhpRenderer::render: Unable to render template "payum/capture/do"; resolver could not resolve to a file
It turnded out the ZF2 redirect plugin just sends the HTTP redirection header, but the initial request is processed to the end at the server. I found out that instead of just using
$this->redirect()->toUrl($reply->getUrl());
within your controllers, you should return it(or false) to prevent further processing of the request. (@see http://framework.zend.com/manual/current/en/modules/zend.mvc.plugins.html#redirect-plugin)
The text was updated successfully, but these errors were encountered: