cancel
Showing results for 
Search instead for 
Did you mean: 

peyment gateway /processing/redirect/ loop

peyment gateway /processing/redirect/ loop

in our country, we have payment gateway call payline.
i wanted to test that before get account and merchant code, i have installed that plugin, when i try to buy something with this gateway, it loops in below page:
http://i.imgur.com/VYMeoY0.png

magento log:

2015-09-17T07:50:53+00:00 ERR (3): Notice: Undefined variable: result in /*/*/*/*/*/app/code/community/Pdt/Payline/Block/Redirect.php on line 106
2015-09-17T07:50:53+00:00 ERR (3): Notice: Trying to get property of non-object in /*/*/*/*/*/app/code/community/Pdt/Payline/Block/Redirect.php on line 106
2015-09-17T07:50:53+00:00 DEBUG (7): Payline ERR:
2015-09-17T07:50:53+00:00 ERR (3): Notice: Undefined variable: result in /*/*/*/*/*/app/code/community/Pdt/Payline/Block/Redirect.php on line 107
2015-09-17T07:50:53+00:00 ERR (3): Notice: Trying to get property of non-object in /*/*/*/*/*/app/code/community/Pdt/Payline/Block/Redirect.php on line 107
2015-09-17T07:50:53+00:00 ERR (3): Notice: Undefined variable: return in /*/*/*/*/*/app/code/community/Pdt/Payline/Block/Redirect.php on line 109

both Redirect.php and Payline.php:
http://paste.ubuntu.com/12436047/

sorry for my bad english
1 REPLY

Re: peyment gateway /processing/redirect/ loop

I guess the getFormAction() returns null, you can look for error message

Payline ERR

from system.log 

 

to better handle this, it should throw an exception to controller and show customers an error page.