osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Installation issues

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 02-10-2006, 10:46 PM
Active Member
 
Join Date: Dec 2003
Posts: 110
Thanks: 0
Thanked 3 Times in 2 Posts
Rep Power: 5
Redeye_Joe
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 02-15-2006, 08:48 PM
Active Member
 
Join Date: Dec 2003
Posts: 110
Thanks: 0
Thanked 3 Times in 2 Posts
Rep Power: 5
Redeye_Joe
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 02-16-2006, 06:27 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,314
Thanks: 67
Thanked 321 Times in 304 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
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 Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 02-18-2006, 09:20 AM
Active Member
 
Join Date: Dec 2003
Posts: 110
Thanks: 0
Thanked 3 Times in 2 Posts
Rep Power: 5
Redeye_Joe
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 02-18-2006, 07:53 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,314
Thanks: 67
Thanked 321 Times in 304 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
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 Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 02-20-2006, 08:38 PM
chrismole's Avatar
Active Member
 
Join Date: Dec 2003
Location: Chicago
Posts: 102
Thanks: 2
Thanked 2 Times in 2 Posts
Rep Power: 5
chrismole
Default

msasek:
Quote:
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 02-20-2006, 08:44 PM
chrismole's Avatar
Active Member
 
Join Date: Dec 2003
Location: Chicago
Posts: 102
Thanks: 2
Thanked 2 Times in 2 Posts
Rep Power: 5
chrismole
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...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 02-21-2006, 10:30 PM
Active Member
 
Join Date: Dec 2003
Posts: 110
Thanks: 0
Thanked 3 Times in 2 Posts
Rep Power: 5
Redeye_Joe
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...??
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #9  
Old 02-22-2006, 09:54 AM
chrismole's Avatar
Active Member
 
Join Date: Dec 2003
Location: Chicago
Posts: 102
Thanks: 2
Thanked 2 Times in 2 Posts
Rep Power: 5
chrismole
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #10  
Old 02-22-2006, 10:30 AM
Active Member
 
Join Date: Dec 2003
Posts: 110
Thanks: 0
Thanked 3 Times in 2 Posts
Rep Power: 5
Redeye_Joe
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Getting Curl error even when I proces check/moneyorder order Redeye_Joe osCMax v2 Installation issues 2 05-23-2006 12:09 AM
Linkpoint Curl Error mL1 osCommerce 2.2 Modification Help 7 08-21-2004 09:37 AM
Changing "authorize.net" to "Credit Card Deta Christy osCMax v1.7 Discussion 5 08-02-2004 03:11 PM
AABOX Max 1.5 and authorize.net / curl possible bug djtodd osCommerce 2.2 Modification Help 2 11-21-2003 02:43 AM
Authorize net error -"please select a payment..." cmccann osCommerce 2.2 Installation Help 0 06-21-2003 09:57 AM


All times are GMT -8. The time now is 02:12 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax