Sermepa 2.0 gateway: bug when using long signature - Solved
I've wasted all the morning testing sermepa 2.0 module with our bank gateway. Finally found that around lines 138,141,203 and 206 the comparisons are wrong: the use only one equal for comparison instead of double equal, which makes that always enter in 'corta'
Search $ds_key_long='corta' and replace with $ds_key_long=='corta'
same with: $ds_key_long='larga' and replace with $ds_key_long=='larga'
Re: Sermepa 2.0 gateway: bug when using long signature - Solved
by the way, on admin/sermepa.php search:
$client_email=$db->Execute("select customers_email_address from okron_customers where customers_id=".$client_id);
and replace with:
$client_email=$db->Execute("select customers_email_address from ". TABLE_CUSTOMERS ." where customers_id=".$client_id);
Re: Sermepa 2.0 gateway: bug when using long signature - Solved
1,000,000 thanks, man!!! Had this poblem and didn't know how to solve it until I found your post.
Re: Sermepa 2.0 gateway: bug when using long signature - Solved
Thank you very much solucionoproblemas for your post!!!!!