Zen Cart Logo
Forums / All Other Contributions/Addons / Convert osC Payment module Atos for PHP5.3 into Zen cart - Need Help

Convert osC Payment module Atos for PHP5.3 into Zen cart - Need Help

Views: 975

Results 1 to 3 of 3
2 Dec 2013, 7:49 AM
#2
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Convert osC Payment module Atos for PHP5.3 into Zen cart - Need Help

I have not installedthis, but a quick glance at the code gives me this:

includes\modules\payment\atos.php
line 188 $_HTTP_POST_VARS can be removed

line 689 can be removed, global $HTTP_POST_VARS, $HTTP_GET_VARS;

$_HTTP_POST_VARS, $HTTP_GET_VARS , if found in OSC normally are replaced by $_POST, and $_GET.

see http://www.zen-cart.com/wiki/index.php/Developers_-_Porting_modules_from_osC

What are the exact errors you are getting?

2 Dec 2013, 8:18 AM
#3
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Convert osC Payment module Atos for PHP5.3 into Zen cart - Need Help

Chemin complet de l'executable pour le déchiffrement de la réponse
/atos/response.exe

Chemin complet de l'executable pour le chiffrement (cryptage) de la requête
/atos/request.exe

do not exist, and I don't think, but correct me if i am worn, exe will run on linux servers.

line 887:

return zen_draw_input_field($field_name, $value['value']);

change to

return zen_draw_input_field($field_name, $value->fields['value']);

line 902:

return zen_draw_input_field($field_name, $value['value']);

cange to

return zen_draw_input_field($field_name, $value->fields['value']);