osCmax v2.5 User Manual
Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Authorize net Error Again... "Check curl and server set

This is a discussion on Authorize net Error Again... "Check curl and server set within the osCmax v2 Installation issues forums, part of the osCmax v2.0 Forums category; Ok, it feels like the same old wrestling match now, with Authorize.net payment module. In fact that is why I ...

      
  1. #1
    Active Member
    Join Date
    Dec 2003
    Posts
    112
    Rep Power
    9


    Default Authorize net Error Again... "Check curl and server set

    Ok, it feels like the same old wrestling match now, with Authorize.net payment module. In fact that is why I decided to upgrade to RC2 in the first place, and after moving to 3 new host servers, and upgradeing to RC2 I had it working for a couple of days, and now it wont work again. Seems to be my host that is the problem but they swear that my path is
    /usr/local/bin/curl
    which has worked before, and works for another of my site running a early moded version of 1.7 OscMax.

    I have tried reinstalling the module but nothing, I am out of ideas and I have compared the authorizenet_direct.php from the older 1.7 site and this new RC2 and they seem to have the same code for curl. So I have no idea what could be,

    What I need to know is how can I use the "test and debug" setting. which is supposed to write a error text to the catalog root but I have set it to that , ran an order, and nothing appeared in my /catalog/ folder. Anyone know what I am doing wrong.
    thanks

  2. #2
    Active Member
    Join Date
    Dec 2003
    Posts
    112
    Rep Power
    9


    Default RE: Authorize net Error Again... "Check curl and server

    Please help, I am at my witts end, I dont know what to do from here, I even tried the manual credit card module that comes with RC2, with no luck, it seems it has not ccv installed. I would even go to an older version if I thought it would work with all the contribuitons that are installed on RC2, I have no clue what to try next, all I can think of is it is my server, is there a simple script I can run to test my curl path and see that is working correctly???

    Anyone Please help, I have to figure this out!!!
    Thanks

  3. #3
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default RE: Authorize net Error Again... "Check curl and server

    Your problem is that your server must have curl compiled into php with SSL support. The authorize net module will not work with the command line version of curl. I am pretty sure that is the problem. So, check your server to make sure curl is compiled into php with SSL support.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  4. #4
    Active Member
    Join Date
    Dec 2003
    Posts
    112
    Rep Power
    9


    Default RE: Authorize net Error Again... "Check curl and server

    My host installed a script to a test folder on my site and when it runs it appears to work, but does this show that "curl is compiled into PHP with SSL support"???
    Code:
    <?php
    
    $ch = curl_init("http://www.yahoo.com/");
    $fp = fopen("example_homepage.txt", "w");
    
    curl_setopt($ch, CURLOPT_FILE, $fp);
    curl_setopt($ch, CURLOPT_HEADER, 0);
    
    curl_exec($ch);
    curl_close($ch);
    fclose($fp);
    
    echo "Please check for the file example_homepage.txt";
    ?>
    When i excute this it makes a text page with a bunch of html code from yahoo. Also this script doesnt seem to point to a path? So it doesnt seem to help me, in finding my path to curl.
    Doug

  5. #5
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default RE: Authorize net Error Again... "Check curl and server

    You do not need to know a path to curl, as it uses the built in php curl+ssl functions.

    Just get the server's phpinfo and look for the curl section to see if it shows curl + ssl... Google phpinfo if you don't know what I'm talking about...
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  6. #6
    Active Member chrismole's Avatar
    Join Date
    Dec 2003
    Location
    Chicago
    Posts
    102
    Rep Power
    9


    Default

    msasek:
    Your problem is that your server must have curl compiled into php with SSL support. The authorize net module will not work with the command line version of curl. I am pretty sure that is the problem. So, check your server to make sure curl is compiled into php with SSL support.
    Did you mean to say that curl should or should not be compiled into php with ssl support?

    I am assuming you meant should be compiled with ssl support, right?

  7. #7
    Active Member chrismole's Avatar
    Join Date
    Dec 2003
    Location
    Chicago
    Posts
    102
    Rep Power
    9


    Default

    When checking the "server info" under "Tools" in the oscmax2 admin (which I assuem runs phpinfo()), I don't have a "curl section". Does that mean curl is not compiled into php? My admin assured me it was. This could be my problem...

  8. #8
    Active Member
    Join Date
    Dec 2003
    Posts
    112
    Rep Power
    9


    Default

    I finally got mine to work but it is a temp fix, It was not a curl problem with my server, it was my checkout_process. I used a old checkout_process, from an older 1.7 release and it is working for credit cards, but I am not sure what problems it is going to cause, becuase I havent got all of the contributions form the other one installed on it yet. Now I just noticed, that my cart is charging tax to a paypal ipn order, from out of state!!! not sure if this is something that has to do with my checkout_process or if it is a bug, or something to do with how my tax zones are set up...??

  9. #9
    Active Member chrismole's Avatar
    Join Date
    Dec 2003
    Location
    Chicago
    Posts
    102
    Rep Power
    9


    Default

    That's weird. I tested the connection on a test version of an osCommerce 2.2 store I have running. I was able to connect to Authorize.net and the checkout_success.php page loaded (with this in Address bar: https://secure.authorize.net/gateway/transact.dll), but no order data was transmitted and saved to Authorize.net. I see no "Unsettled Transactions" in the Authorize.net admin. So this version is not working either...

    What has oscmax changed about the new Authorize.net payment process that causes all the curl problems?

    Is there anyone out there who knows how to make the latest oscmax2 version work with Authorize.net?

  10. #10
    Active Member
    Join Date
    Dec 2003
    Posts
    112
    Rep Power
    9


    Default

    Here is my an older versions checkout_process.php It doesnt have all the mods moved over from the RC2's checkout_process.php. I am using it temporarily until I can get something else fixed. I will attach to this message my working checkout_process.php but if someone that knows more code than I do can add the mods from RC2's checkout_process, please post it here,
    thanks

Page 1 of 2 12 LastLast

Similar Threads

  1. Getting Curl error even when I proces check/moneyorder order
    By Redeye_Joe in forum osCmax v2 Installation issues
    Replies: 2
    Last Post: 05-23-2006, 12:09 AM
  2. Linkpoint Curl Error
    By mL1 in forum osCommerce 2.2 Modification Help
    Replies: 7
    Last Post: 08-21-2004, 09:37 AM
  3. Changing "authorize.net" to "Credit Card Deta
    By Christy in forum osCmax v1.7 Discussion
    Replies: 5
    Last Post: 08-02-2004, 03:11 PM
  4. AABOX Max 1.5 and authorize.net / curl possible bug
    By djtodd in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 11-21-2003, 01:43 AM
  5. Authorize net error -"please select a payment..."
    By cmccann in forum osCommerce 2.2 Installation Help
    Replies: 0
    Last Post: 06-21-2003, 09:57 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
  •