Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2013
    Posts
    47
    Plugin Contributions
    0

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

    there is an osCommerce payment module Atos for PHP 5.3,
    osCommerce_Atos_PHP53.zip
    i convert it to Zen Cart, but get errors.
    ZenCart_Atos_PHP53.zip

    anyone could help? any other code need modify?

  2. #2
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,846
    Plugin Contributions
    25

    Default 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.p...dules_from_osC

    What are the exact errors you are getting?

  3. #3
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,846
    Plugin Contributions
    25

    Default 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:
    PHP Code:
    return zen_draw_input_field($field_name$value['value']); 
    change to
    PHP Code:
    return zen_draw_input_field($field_name$value->fields['value']); 
    line 902:
    PHP Code:
    return zen_draw_input_field($field_name$value['value']); 
    cange to
    PHP Code:
    return zen_draw_input_field($field_name$value->fields['value']); 

 

 

Similar Threads

  1. v151 Payment module ATOS for PHP5.3 ?
    By xav2 in forum All Other Contributions/Addons
    Replies: 15
    Last Post: 23 Jul 2013, 08:26 AM
  2. Replies: 47
    Last Post: 7 Jul 2013, 10:36 PM
  3. Replies: 4
    Last Post: 25 Feb 2009, 06:12 PM
  4. Convert Osc Shiiping module into Zen cart
    By mdc in forum General Questions
    Replies: 3
    Last Post: 4 Feb 2008, 05:29 AM
  5. Convert this module from OSC to ZEN?
    By (Deus) in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 6 Feb 2007, 09:54 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR