Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Sep 2007
    Location
    Frankfort, Illinois, United States
    Posts
    21
    Plugin Contributions
    0

    application error Authorize.net AIM problem: 502 Bad Gateway error

    Hello all,

    I'm rather frusterated with this as ive been trying different ways to fix this all day.

    I'm using authorize.net AIM to process my zencart transactions version 1.3.8.

    When I go to check out it processes the transaction correctly but instead of returning me back to the shopping cart it gives me a 502 Bad Gateway error. Any ideas on where to look or how to fix this problem?

    Ive searched google and these forums for similar problems and i cant find anything

    Any help would be appreciated!

    Zencart version: 1.3.8 Fresh install
    No addons

    I get these emails from zencart everytime a test transaction is made:
    Nov-24-2009 05:48:06
    =================================

    Response Code: 1.
    Response Text: (TESTMODE) This transaction has been approved.

    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_CAPTURE
    [x_method] => CC
    [x_amount] => 94.95
    [x_currency_code] => USD
    [x_card_num] => XXXXXXXXXXXXX0027
    [x_exp_date] => 0114
    [x_card_code] => ****
    [x_email_customer] => FALSE
    [x_email_merchant] => FALSE
    [x_cust_id] => 1
    [x_invoice_num] => 21-ZpJgWv
    [x_first_name] => Ma
    [x_last_name] => Jaj
    [x_company] =>
    [x_address] => 18909 Meadowview Dr
    [x_city] => Moken
    [x_state] => Illinois
    [x_zip] => 60048
    [x_country] => United States
    [x_phone] => 6309996666
    [x_email] => [email protected]
    [x_ship_to_first_name] =>
    [x_ship_to_last_name] =>
    [x_ship_to_address] =>
    [x_ship_to_city] =>
    [x_ship_to_state] =>
    [x_ship_to_zip] =>
    [x_ship_to_country] =>
    [x_description] => Tuxedo Rental (qty: 1)
    [x_recurring_billing] => NO
    [x_customer_ip] => 173.161.47.30
    [x_po_num] => Nov-24-2009 05:48:03
    [x_freight] => 0.00
    [x_tax_exempt] => FALSE
    [x_tax] => 0.00
    [x_duty] => 0
    [Date] => November 24, 2009, 5:48 pm
    [IP] => 173.161.47.30
    [Session] => 2ccd11e9be1bd472372753faa4b1249f
    [url] => https://secure.authorize.net/gateway/transact.dll
    )


    Results Received back from Authorizenet: Array
    (
    [0] => Response from gateway
    [1] => 1
    [2] => 1
    [3] => 1
    [4] => (TESTMODE) This transaction has been approved.
    [5] => 000000
    [6] => P
    [7] => 0
    [8] => 21-ZpJgWv
    [9] => Tuxedo Rental (qty: 1)
    [10] => 94.95
    [11] => CC
    [12] => auth_capture
    [13] => 1
    [14] => Ma
    [15] => Jaj
    [16] =>
    [17] => 18909 Meadowcruise Dr
    [18] => Moken
    [19] => Indiana
    [20] => 60048
    [21] => United States
    [22] => 6309996666
    [23] =>
    [24] => [email protected]
    [25] =>
    [26] =>
    [27] =>
    [28] =>
    [29] =>
    [30] =>
    [31] =>
    [32] =>
    [33] => 0.0000
    [34] => 0.0000
    [35] => 0.0000
    [36] => FALSE
    [37] => Nov-24-2009 05:48:03
    [38] => 222DB3472CC65CBCCA757902A6A27326
    [39] =>
    [40] =>
    [41] =>
    [42] =>
    [43] =>
    [44] =>
    [45] =>
    [46] =>
    [47] =>
    [48] =>
    [49] =>
    [50] =>
    [51] =>
    [52] =>
    [53] =>
    [54] =>
    [55] =>
    [56] =>
    [57] =>
    [58] =>
    [59] =>
    [60] =>
    [61] =>
    [62] =>
    [63] =>
    [64] =>
    [65] =>
    [66] =>
    [67] =>
    [68] =>
    [69] => November 24, 2009, 5:48 pm
    [70] => 173.161.47.30
    [71] => 2ccd11e9be1bd472372753faa4b1249f
    [Expected-MD5-Hash] => 222DB3472CC65CBCCA757902A6A27326
    [HashMatchStatus] => PASS
    )


    CURL communication info: Array
    (
    [url] => https://secure.authorize.net/gateway/transact.dll
    [content_type] => text/html
    [http_code] => 200
    [header_size] => 237
    [request_size] => 1088
    [filetime] => -1
    [ssl_verify_result] => 20
    [redirect_count] => 0
    [total_time] => 2.5
    [namelookup_time] => 0
    [connect_time] => 0.094
    [pretransfer_time] => 2.406
    [size_upload] => 0
    [size_download] => 549
    [speed_download] => 219
    [speed_upload] => 0
    [download_content_length] => 549
    [upload_content_length] => 0
    [starttransfer_time] => 2.5
    [redirect_time] => 0
    )


    RAW data received:
    *1*|*1*|*1*|*(TESTMODE) This transaction has been
    approved.*|*000000*|*P*|*0*|*21-ZpJgWv*|*Tuxedo Rental (qty:
    1)*|*94.95*|*CC*|*auth_capture*|*1*|*Ma*|*Jaj*|**|*18909 Meadowview
    Dr*|*Moken*|*Illinois*|*60048*|*United
    States*|*6309996666*|**|*[email protected]*|**|**|**|**|**|**|**|**|*0.0000*|*0.0000* |*0.0000*|*FALSE*|*Nov-24-2009
    05:48:03*|*222DB3472CC65CBCCA757902A6A27326*|**|**|**|**|**|**|**|**|**|**|**|** |**|**|**|**|**|**|**|**|**|**|**|**|**|**|**|**|**|**|*November
    24, 2009, 5:48 pm*|*173.161.47.30*|*2ccd11e9be1bd472372753faa4b1249f*

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

    Default Re: Authorize.net AIM problem: 502 Bad Gateway error

    Quote Originally Posted by mateogp View Post
    ... it gives me a 502 Bad Gateway error. Any ideas on where to look or how to fix this problem?
    Everything I've read on "502" errors points to something wrong with either the server or the hosting company's firewall or internet connection.
    Maybe they've got a bad proxy server somewhere?
    Maybe they've got an equipment failure?
    Maybe they've got a software configuration problem somewhere?


    I don't think there's much that *you* can do to fix it, other than log a ticket with your hosting company.
    You might want to clear your browser cache and reboot and see if it continues.
    Also, check whether the problem occurs from a PC in another neighbourhood over a different ISP connection.
    .

    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
    Sep 2007
    Location
    Frankfort, Illinois, United States
    Posts
    21
    Plugin Contributions
    0

    Default Re: Authorize.net AIM problem: 502 Bad Gateway error

    Just an update, and a thanks for your reply! I appreciate it.

    What a pain that whole thing has been!! I tried and tried and tried and couldnt get past that error, two days wasted.

    So I reinstalled everything all over again after backing up my the database, I transferred all the database files over and BAM once again same problem.

    So I restored my backup of the new install and just transferred products and their attributes. Reenabled SSL and WOOHOOO its working.

    Therefore all I can figure out is it must have been a setting I changed.. and I cant figure out where I changed it. But whichever it was, it solved my problem and I'm a very happy camper now.

    I'm glad it wasnt the server because we have our own dedicated server which is very quick and only hosts our sites. No system admin to go complaining too!

    Thanks again,
    Matt

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Authorize.net AIM problem: 502 Bad Gateway error

    If you don't mind sharing a copy of both of your backups (broken and working), I'd like to investigate further just in case there's something we can do to prevent it in the future.
    PM me if you're interested.
    .

    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.

 

 

Similar Threads

  1. Authorize.net AIM Error 60 SSL certificate problem: unable to get local issuer
    By Jac Web in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 3 Jun 2016, 03:31 AM
  2. v151 Authorize.net AIM and InternetSecure Gateway
    By crestlinecorp in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 26 Nov 2015, 12:05 PM
  3. 502 Bad Gateway on Server/Version Info page
    By ducksigns in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 7 Oct 2007, 02:03 PM

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