Results 1 to 8 of 8
  1. #1
    Join Date
    Dec 2007
    Posts
    25
    Plugin Contributions
    0

    Default Help on Hash Warning in AuthorizeNet_Aim with SecurePay

    I am running 1.38a and using AuthorizeNet_aim with SecurePay. I don't have an AuthorizeNet account, but using the translator for AuthorizeNet_Aim. I spoke with SecurePay and they said they don't use or know anything about using MD5 Hash. Please Help!!
    Below iare the 2 warning message received:

    WARNING: Security hash problem. Please contact store-owner immediately. Your order has *not* been fully authorized

    Your credit card could not be authorized for this reason. Please correct the information and try again or contact us for further assistance.

    I have searched the forum and could not find anything related to my problem, since I am not using AuthorizeNet. The transaction goes to SecurePay but I get the error messages. I will add the debug log:

    Response Code: 2||2|This transaction has been declined.|NOT
    APPROVED|E|-88|1-XtERpA|Test+Product+%28qty%3A+1%29+|5.00|CC|AUTH_ONLY|4|shawn|sheldon||830+North +Union+Blvd|Colorado+Springs|Colorado|80909|United+States|719+456-1292||usagreco%40yahoo.com|shawn|sheldon||830+North+Union+Blvd|Colorado+Springs| Colorado+Springs|Colorado|80909|0.00|0|0.00|FALSE|Feb-13-2008+11%3A59%3A08||.
    Response Text:

    Sending to Authorizenet: Array
    (
    [x_login] => *******
    [x_tran_key] => *******
    [x_relay_response] => FALSE
    [x_delim_data] => TRUE
    [x_delim_char] => |
    [x_encap_char] => *
    [x_version] => 3.1
    [x_type] => AUTH_ONLY
    [x_method] => CC
    [x_amount] => 5.00
    [x_currency_code] => USD
    [x_card_num] => XXXXXXXXXXXXXXXX6877
    [x_exp_date] => 0211
    [x_card_code] =>
    [x_email_customer] => TRUE
    [x_email_merchant] => TRUE
    [x_cust_id] => 4
    [x_invoice_num] => 1-XtERpA
    [x_first_name] => shawn
    [x_last_name] => sheldon
    [x_company] =>
    [x_address] => 830 North Union Blvd
    [x_city] => Colorado Springs
    [x_state] => Colorado
    [x_zip] => 80909
    [x_country] => United States
    [x_phone] => 719 456-1292
    [x_email] => usagreco######################
    [x_ship_to_first_name] => shawn
    [x_ship_to_last_name] => sheldon
    [x_ship_to_address] => 830 North Union Blvd
    [x_ship_to_city] => Colorado Springs
    [x_ship_to_state] => Colorado
    [x_ship_to_zip] => 80909
    [x_ship_to_country] => United States
    [x_description] => Test Product (qty: 1)
    [x_recurring_billing] => NO
    [x_customer_ip] => 209.60.77.2
    [x_po_num] => Feb-13-2008 11:59:08
    [x_freight] => 0.00
    [x_tax_exempt] => FALSE
    [x_tax] => 0.00
    [x_duty] => 0
    [Date] => February 13, 2008, 11:59 am
    [IP] => 209.60.77.2
    [Session] => a84ff84cfb1afe29c76083503873c52f
    [url] => https://www.securepay.com/AuthSpayAdapter/process.aspx
    )


    Results Received back from Authorizenet: Array
    (
    [0] => Response from gateway
    [1] => 2||2|This transaction has been declined.|NOT
    APPROVED|E|-88|1-XtERpA|Test+Product+%28qty%3A+1%29+|5.00|CC|AUTH_ONLY|4|shawn|sheldon||830+North +Union+Blvd|Colorado+Springs|Colorado|80909|United+States|719+456-1292||usagreco%40yahoo.com|shawn|sheldon||830+North+Union+Blvd|Colorado+Springs| Colorado+Springs|Colorado|80909|0.00|0|0.00|FALSE|Feb-13-2008+11%3A59%3A08||
    [Expected-MD5-Hash] => 39AF4FCE4D384976CEC8A7AED05727AA
    [HashMatchStatus] => FAIL
    )


    CURL communication info: Array
    (
    [url] => https://www.securepay.com/AuthSpayAdapter/process.aspx
    [content_type] => text/html; charset=utf-8
    [http_code] => 200
    [header_size] => 283
    [request_size] => 1171
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 3.013973
    [namelookup_time] => 0.052237
    [connect_time] => 0.10247
    [pretransfer_time] => 0.218944
    [size_upload] => 0
    [size_download] => 365
    [speed_download] => 121
    [speed_upload] => 0
    [download_content_length] => 365
    [upload_content_length] => 0
    [starttransfer_time] => 3.013851
    [redirect_time] => 0
    )


    RAW data received:
    2||2|This transaction has been declined.|NOT
    APPROVED|E|-88|1-XtERpA|Test+Product+%28qty%3A+1%29+|5.00|CC|AUTH_ONLY|4|shawn|sheldon||830+North +Union+Blvd|Colorado+Springs|Colorado|80909|United+States|719+456-1292||usagreco%40yahoo.com|shawn|sheldon||830+North+Union+Blvd|Colorado+Springs| Colorado+Springs|Colorado|80909|0.00|0|0.00|FALSE|Feb-13-2008+11%3A59%3A08|||




    Please Help.
    Thanks, Shawn

  2. #2
    Join Date
    Dec 2007
    Posts
    25
    Plugin Contributions
    0

    Default Re: Help on Hash Warning in AuthorizeNet_Aim

    I forgot to say that I don't have a drop down list for credit card selection. I spoke with securepay and they said it's turned on.
    Thanks, Shawn

  3. #3
    Join Date
    Dec 2005
    Location
    Cincinnati Ohio
    Posts
    1,014
    Plugin Contributions
    12

    Default Re: Help on Hash Warning in AuthorizeNet_Aim

    If you are using securepay and they do not have a drop down list in your transaction card processor form then its not turned on.

    However even though you have securepay, why are you using authorize for the transaction.

    The hash does not apply to securepay if you use the authnet translator provided by securepay.

    Are you using the authnet module straight to securepay? Without modification?
    Web Hosting & PCI Hosting, SecurityMetrics Platinum Partner
    PCI Certified Web Hosting - ControlScan, McAfee, TrustKeeper
    Business Class Web Hosting - Linux and cPanel Powered

  4. #4
    Join Date
    Dec 2007
    Posts
    25
    Plugin Contributions
    0

    Default Re: Help on Hash Warning in AuthorizeNet_Aim

    Quote Originally Posted by knuckle-101 View Post
    If you are using securepay and they do not have a drop down list in your transaction card processor form then its not turned on.

    However even though you have securepay, why are you using authorize for the transaction.

    The hash does not apply to securepay if you use the authnet translator provided by securepay.

    Are you using the authnet module straight to securepay? Without modification?
    I am using the authorizenet_aim mod, should I use the securepay mod? I have made the modifications listed in the forum which are the same as securepay's listed on the website.

    I was told by securepay that the mod was not supported and authorizenet_aim was. They also told me that the drop down list in the transaction card processor form was turned on, I will contact them again about that.

    I need all the help I can get, please.

    Should I use the securepay mod?
    Thanks, Shawn

  5. #5
    Join Date
    Dec 2005
    Location
    Cincinnati Ohio
    Posts
    1,014
    Plugin Contributions
    12

    Default Re: Help on Hash Warning in AuthorizeNet_Aim

    Follow this post it could be of some help to you http://www.zen-cart.com/forum/showpo...0&postcount=17

    I showed you how to use the authnet translator that securepay offers.
    Web Hosting & PCI Hosting, SecurityMetrics Platinum Partner
    PCI Certified Web Hosting - ControlScan, McAfee, TrustKeeper
    Business Class Web Hosting - Linux and cPanel Powered

  6. #6
    Join Date
    Dec 2007
    Posts
    25
    Plugin Contributions
    0

    Default Re: Help on Hash Warning in AuthorizeNet_Aim

    Quote Originally Posted by knuckle-101 View Post
    Follow this post it could be of some help to you http://www.zen-cart.com/forum/showpo...0&postcount=17

    I showed you how to use the authnet translator that securepay offers.
    Yes, I have already configured the files. I have uninstalled the mod twice but I still receive the error message"hash security problem"
    From Debug:
    Expected-MD5-Hash] => 39AF4FCE4D384976CEC8A7AED05727AA
    [HashMatchStatus] => FAIL


    Here is what my authorizenet_aim.php looks like:
    // Populate an array that contains all of the data to be sent to Authorize.net
    $submit_data = array_merge(array(
    'x_login' => trim(MODULE_PAYMENT_AUTHORIZENET_AIM_LOGIN),
    'x_tran_key' => trim(MODULE_PAYMENT_AUTHORIZENET_AIM_TXNKEY),
    'x_relay_response' => 'FALSE',
    'x_delim_data' => 'TRUE',
    'x_delim_char' => $this->delimiter, // The default delimiter is a comma
    'x_encap_char' => $this->encapChar, // The divider to encapsulate response fields
    'x_version' => '3.1', // 3.1 is required to use CVV codes
    ), $submit_data);

    if(MODULE_PAYMENT_AUTHORIZENET_AIM_TESTMODE == 'Test') {
    $submit_data['x_test_request'] = 'TRUE';
    }

    // set URL
    $url = 'https://www.securepay.com/AuthSpayAdapter/process.aspx';
    if (defined('AUTHORIZENET_DEVELOPER_MODE')) {
    if (AUTHORIZENET_DEVELOPER_MODE == 'on') $url = 'https://test.authorize.net/gateway/transact.dll';
    if (AUTHORIZENET_DEVELOPER_MODE == 'echo' || MODULE_PAYMENT_AUTHORIZENET_AIM_DEBUGGING == 'echo') $url = 'https://developer.authorize.net/param_dump.asp';
    if (AUTHORIZENET_DEVELOPER_MODE == 'certify') $url = 'https://certification.authorize.net/gateway/transact.dll';
    }
    if (MODULE_PAYMENT_AUTHORIZENET_AIM_DEBUGGING == 'echo') $url = 'https://developer.authorize.net/param_dump.asp';

    // concatenate the submission data into $data variable after sanitizing to protect delimiters
    $data = '';
    while(list($key, $value) = each($submit_data)) {
    if ($key != 'x_delim_char' && $key != 'x_encap_char') {
    $value = str_replace(array($this->delimiter, $this->encapChar,'"',"'",'&','&', '='), '', $value);
    }
    $data .= $key . '=' . urlencode($value) . '&';
    }
    // Remove the last "&" from the string
    $data = substr($data, 0, -1);


    // prepare a copy of submitted data for error-reporting purposes
    $this->reportable_submit_data = $submit_data;
    $this->reportable_submit_data['x_login'] = '*******';
    $this->reportable_submit_data['x_tran_key'] = '*******';
    if (isset($this->reportable_submit_data['x_card_num'])) $this->reportable_submit_data['x_card_num'] = str_repeat('X', strlen($this->reportable_submit_data['x_card_num'] - 4)) . substr($this->reportable_submit_data['x_card_num'], -4);
    if (isset($this->reportable_submit_data['x_card_code'])) $this->reportable_submit_data['x_card_code'] = '****';
    $this->reportable_submit_data['url'] = $url;

    this is the section that connects to securepay. If you want to see the whole file and will paste it as well.
    Thanks, Shawn

  7. #7
    Join Date
    Dec 2007
    Posts
    25
    Plugin Contributions
    0

    Default Re: Help on Hash Warning in AuthorizeNet_Aim with SecurePay

    After racking my brain trying to figure out the MD5 hash error I installed the authorizenet_aim php from ZC1.3.7 without the MD5 hash and it seems to be working fine.

    I tried the secure pay mod 2.1.1 but had problems with that as well.
    Thanks, Shawn

  8. #8
    Join Date
    Dec 2005
    Location
    Cincinnati Ohio
    Posts
    1,014
    Plugin Contributions
    12

    Default Re: Help on Hash Warning in AuthorizeNet_Aim with SecurePay

    Try commenting out the hash were zencart will by pass this feature, this will need to be done through all files that call for the hash to be checked.

    As always you may need to hire a developer to successfully do this as your site may be different from others depending on what you did.

    ****** solicitation removed by moderator *****

    other wise you need to edit the authorizenet files regardless to comment out the hash commands
    Web Hosting & PCI Hosting, SecurityMetrics Platinum Partner
    PCI Certified Web Hosting - ControlScan, McAfee, TrustKeeper
    Business Class Web Hosting - Linux and cPanel Powered

 

 

Similar Threads

  1. MD5 Hash Problems
    By bigk in forum Built-in Shipping and Payment Modules
    Replies: 12
    Last Post: 17 Feb 2008, 06:43 AM
  2. MD5 Hash
    By hughesenergy in forum General Questions
    Replies: 2
    Last Post: 12 Feb 2008, 01:24 AM
  3. AuthorizeNet_aim with SecurePay ZC1.38a
    By shelby89 in forum Addon Payment Modules
    Replies: 1
    Last Post: 3 Feb 2008, 11:48 PM
  4. AuthorizeNet_Aim unable to connect with SecurePay
    By shelby89 in forum Upgrading from 1.3.x to 1.3.9
    Replies: 2
    Last Post: 3 Feb 2008, 11:40 PM
  5. Password MD5 HASH in DB.
    By rabbie in forum General Questions
    Replies: 8
    Last Post: 15 Mar 2007, 12:08 PM

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
  •