Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2008
    Posts
    11
    Plugin Contributions
    0

    Default Using Authorize.net Module for Different Gateway?

    I just got a merchant account and I'm trying to set it up. They don't really offer a lot of detailed info to use with Zen Cart, but I think if I told you the info you could translate it for me.. LOL

    I was told to the following:

    You select the AIM method then you change the authorize.net DLL file in
    the payment module file so that it posts the credit card information to
    https://trans.secure-fastcharge.com/.../authorize.cgi

    You make this URL change in the actual php file not in the control panel.

    Okay, I found the php file:
    PHP Code:
    $this->form_action_url 'https://secure.authorize.net/gateway/transact.dll';
        if (
    AUTHORIZENET_DEVELOPER_MODE == 'on'$this->form_action_url 'https://test.authorize.net/gateway/transact.dll';
        if (
    AUTHORIZENET_DEVELOPER_MODE == 'echo' || MODULE_PAYMENT_AUTHORIZENET_DEBUGGING == 'echo'$this->form_action_url 'https://developer.authorize.net/param_dump.asp';
        if (
    AUTHORIZENET_DEVELOPER_MODE == 'certify'$this->form_action_url 'https://certification.authorize.net/gateway/transact.dll'
    should it be this?

    PHP Code:
    $this->form_action_url 'https://secure.authorize.net/gateway/transact.dll';
        if (
    AUTHORIZENET_DEVELOPER_MODE == 'on'$this->form_action_url 'https://test.authorize.net/gateway/transact.dll';
        if (
    AUTHORIZENET_DEVELOPER_MODE == 'echo' || MODULE_PAYMENT_AUTHORIZENET_DEBUGGING == 'echo'$this->form_action_url 'https://developer.authorize.net/param_dump.asp';
        if (
    AUTHORIZENET_DEVELOPER_MODE == 'certify'$this->form_action_url 'https://trans.secure-fastcharge.com/cgi-bin/authorize.cgi'

    On the phone "he" said he just changed all the .dll to read this https://trans.secure-fastcharge.com/.../authorize.cgi

    Okay I just ran a test and got a HASH error. I wasn't given a TRANSACTION KEY OR MD5 HASH. So I don't know what to put in those blanks.

    As you can see, I'm trying to make the existing module work. NOW, if you can see this will not work, is there a generic payment module out there that I can implement in its place.


    Thanks in advance,
    Larisa

  2. #2
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Fastcharge Payment Module

    1. You only needed to change the first URL. All the ones related to developer mode are irrelevant to you.

    2. Since they're not using a true AIM gateway, and are only implementing a partial API, you'll have to hack out the security code that validates the md5 hash.
    Put // at the beginning of these lines, as shown:
    Code:
    //    $response['Expected-MD5-Hash'] = $this->calc_md5_response($response[6], $response[9]);
    //    $response['HashMatchStatus'] = ($response[37] == $response['Expected-MD5-Hash']) ? 'PASS' : 'FAIL';
    and
    Code:
    //    if ($response['HashMatchStatus'] != 'PASS') {
    //      $this->order_status = 1;
    //      $messageStack->add_session('header', MODULE_PAYMENT_AUTHORIZENET_AIM_TEXT_AUTHENTICITY_WARNING, 'caution');
    //    }
    3. You can leave the md5 hash code blank in your Zen Cart admin settings for the module, since it will no longer be used if you make those changes.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Jan 2008
    Posts
    11
    Plugin Contributions
    0

    Default Re: Fastcharge Payment Module

    It works like a charm!!!!

    TY sweetheart.. you were my lifesaver!!!

 

 

Similar Threads

  1. v155 Gateway address for Authorize.net (SIM)
    By HeleneWallis in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 27 Jun 2016, 05:26 PM
  2. Help: eProcessing Network Questions - Using Authorize.net AIM Module
    By spidercreations in forum Addon Payment Modules
    Replies: 14
    Last Post: 8 May 2010, 02:28 PM
  3. Authorize.net gateway module
    By CabinetGuy in forum Addon Payment Modules
    Replies: 4
    Last Post: 29 Mar 2010, 10:06 PM
  4. Authorize.net gateway
    By RichardLynch in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 7 Sep 2006, 05:51 AM

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