Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Sep 2006
    Location
    Jacksonville, FL
    Posts
    236
    Plugin Contributions
    0

    Re: authorize.net gateway vs GoDaddy and cURL

    I am running into the same issue with GoDaddy and authorize.net aim. The error message I keep getting now is "lost network connection." (NSURLErrorDomain:-1005). I am running the latest version of zenCart. This is what I have in my authizenet_aim.php file:

    if (CURL_PROXY_REQUIRED == 'True') {

    curl_setopt ($ch, CURLOPT_HTTPPROXYTUNNEL, true);

    curl_setopt ($ch, CURLOPT_PROXYTYPE, CURLPROXY_HTTP);

    curl_setopt ($ch, CURLOPT_PROXY, '64.202.165.130:3128');

    }



    $authorize = curl_exec($ch);

    curl_close ($ch);

    Any ideas as to what the problem might be?
    John L.
    MultiMedia Designer

  2. #2
    Join Date
    Sep 2006
    Location
    Jacksonville, FL
    Posts
    236
    Plugin Contributions
    0

    Authorize.net(AIM) Help Needed!

    I have searched the threads/FAQ's, but still can not find an answer to this dilemna:

    I get all the way through to step 3 "order confirmation" page and then it send me back to step 2 with the following message in a marroon box:
    "Your credit card could not be authorized for this reason. Please correct any information and try again or contact us for further assistance."

    ZenCart is in Test Mode: Authorize.net is in Test Mode
    My hosting is through GoDaddy and I have made the necessary adjustments to my authorizenet_aim.php code.
    I am typing in the test cc #, a future date in the card exp. field, and three random numbers in the CVV field.
    John L.
    MultiMedia Designer

  3. #3
    Join Date
    Sep 2006
    Location
    Jacksonville, FL
    Posts
    236
    Plugin Contributions
    0

    Re: Authorize.net(AIM) Help Needed!

    here's a copy of my authorizenet_aim.php code:

    // The commented line below is an alternate connection method

    //exec("/usr/bin/curl -d \"$data\" https://secure.authorize.net/gateway/transact.dll", $response);



    $url = 'https://secure.authorize.net/gateway/transact.dll';



    $ch = curl_init();

    curl_setopt($ch, CURLOPT_URL,$url);

    curl_setopt($ch, CURLOPT_VERBOSE, 0);

    curl_setopt($ch, CURLOPT_POST, 1);

    curl_setopt($ch, CURLOPT_POSTFIELDS, $data);

    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);


    if (CURL_PROXY_REQUIRED == 'True') {

    curl_setopt ($ch, CURLOPT_HTTPPROXYTUNNEL, true);

    curl_setopt ($ch, CURLOPT_PROXYTYPE, CURLPROXY_HTTP);

    curl_setopt ($ch, CURLOPT_PROXY, '64.202.165.130:3128');

    curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, 0);

    }



    //$authorize = curl_exec($ch);

    //curl_close ($ch);



    $response = split('\,', $authorize);



    $response_code = explode(',', $response[0]);

    $response_text = explode(',', $response[3]);

    $transaction_id = explode(',', $response[6]);

    $authorization_type = explode(',', $response[11]);

    $auth_code = explode(',', $response[4]);

    $this->auth_code = $auth_code[0];

    $this->transaction_id = $transaction_id[0];

    Any help with this would be greatly appreciated!
    John L.
    MultiMedia Designer

  4. #4
    Join Date
    Jan 2005
    Location
    Lake Havasu, AZ
    Posts
    1,149
    Plugin Contributions
    0

    Default Re: Authorize.net(AIM) Help Needed!

    Authorize.net requires a pass via SSL - is your checkout secure ?
    When the world gets in my face I say Have A Nice Day.
    * I DO Think and I HAVE BEEN Zenned - therefore, I AM * I donate - do you?
    Custom Templates and Zen Services CRS Designs, Inc.

  5. #5
    Join Date
    Sep 2006
    Location
    Jacksonville, FL
    Posts
    236
    Plugin Contributions
    0

    Default Re: Authorize.net(AIM) Help Needed!

    Hi Tina S.

    I have an SSL cert activated through my host.
    John L.
    MultiMedia Designer

  6. #6
    Join Date
    Jan 2005
    Location
    Lake Havasu, AZ
    Posts
    1,149
    Plugin Contributions
    0

    Default Re: Authorize.net(AIM) Help Needed!

    How about the cards accepted - have you checked to be sure that the cards accepted match to the cart you are using ?

    And also the CCV - if your authorize.net account doesn't require it you should be using the Authorize.net module not the (aim) module.
    When the world gets in my face I say Have A Nice Day.
    * I DO Think and I HAVE BEEN Zenned - therefore, I AM * I donate - do you?
    Custom Templates and Zen Services CRS Designs, Inc.

  7. #7
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: authorize.net gateway vs GoDaddy and cURL

    which hosting plan do you have with GoDaddy?
    .

    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.

  8. #8
    Join Date
    Sep 2006
    Location
    Jacksonville, FL
    Posts
    236
    Plugin Contributions
    0

    Default Re: authorize.net gateway vs GoDaddy and cURL

    Dr. Byte,

    I have the Premium Hosting (Linux w/PHP, PERL) plan with GoDaddy.
    John L.
    MultiMedia Designer

  9. #9
    Join Date
    Sep 2006
    Location
    Jacksonville, FL
    Posts
    236
    Plugin Contributions
    0

    Default Re: authorize.net gateway vs GoDaddy and cURL

    in my admin =>modules=> payment section, im getting the following errors at the top:


    Warning: main(/home/content/s/t/u/"mypage"/html/"mypage"_0905/store/zen-cart-090706/includes/languages/english/modules/payment/configure.php): failed to open stream: No such file or directory in /home/content/s/t/u/"mypage"/html/"mypage"_0905/store/zen-cart-090706/admin/modules.php on line 174

    Warning: main(/home/content/s/t/u/"mypage"/html/"mypage"_0905/store/zen-cart-090706/includes/languages/english/modules/payment/configure.php): failed to open stream: No such file or directory in /home/content/s/t/u/"mypage"/html/"mypage"_0905/store/zen-cart-090706/admin/modules.php on line 174

    Warning: main(): Failed opening '/home/content/s/t/u/"mypage"/html/"mypage"_0905/store/zen-cart-090706/includes/languages/english/modules/payment/configure.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/content/s/t/u/"mypage"/html/"mypage"_0905/store/zen-cart-090706/admin/modules.php on line 174

    would this have anything to do with my checkout problem?
    John L.
    MultiMedia Designer

  10. #10
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: authorize.net gateway vs GoDaddy and cURL

    well, this would most likely be because there is no file there, however there isnt supposed to be one there,

    can you list what files you have in
    includes/modules/payment/
    Zen cart PCI compliant Hosting

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v151 Authorize.net Aim / HELP!!!!
    By TinaLynn in forum Addon Payment Modules
    Replies: 1
    Last Post: 28 May 2013, 06:57 PM
  2. v150 Difference Between Authorize.net (SIM) and Authorize.net (AIM)
    By joem83 in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 30 Aug 2012, 10:48 PM
  3. Help with Authorize net (AIM)
    By Orbman in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 16 Jul 2007, 11:29 PM
  4. Authorize.Net(not aim) Help!!!!
    By sonrisa29 in forum Built-in Shipping and Payment Modules
    Replies: 11
    Last Post: 21 Aug 2006, 04:39 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