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; Thanks for the file, I will try it. However, the zip archive seems corrupted, I can't unzip. Please re-post... C...


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
  #11  
Old 02-22-2006, 12:14 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

Thanks for the file, I will try it. However, the zip archive seems corrupted, I can't unzip. Please re-post...

C
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #12  
Old 02-22-2006, 12:26 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:
After reviewing the Authorize.net discussion on the osCommerce forums here:
http://forums.oscommerce.com/index.p....net&st=40

This code block (below) looks like a fix for some of the curl errors we are experiencing. However, I cannot find this block of code anywhere on the oscmax2 file set, nor can I find the file "authorizenet_direct.php". Does it need to be added? I saw that one of the posts in the osC forum was yours (not the one below), saying the block of code fixed your curl problem....

Quote:
I changed this file...

/catalog/includes/modules/authorizenet_direct.php

On the last line

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

Code:

Code:
       $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);  
       $authorize = curl_exec($ch);  
       curl_close ($ch);  
       $response = split(\"\,\", $authorize);
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #13  
Old 02-24-2006, 11:19 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 the checkout_process.php file again, and the code you speaking of is at the end of authoriznet_direct.php.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #14  
Old 02-25-2006, 07:33 PM
Active Member
 
Join Date: Dec 2003
Posts: 110
Thanks: 0
Thanked 3 Times in 2 Posts
Rep Power: 5
Redeye_Joe
Default

I just uploaded the checkout_process that comes with RC2 again, and it seems to be working fine, so I seems that my problem originally may have been a bad uploaded file...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #15  
Old 02-25-2006, 08:50 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

OK, thanks for the info. The zip download didn't work again anyway...file comes across currupted.

So, are you using oscmax2 rc2 and it's working for you? Can you tell me what some of your settings are so I can re-create them to get mine working? Things like server config (do you have curl compiled into php with ssl?), oscmax admin settings, authorize.net admin settings.

Much appreciated,
C
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #16  
Old 02-26-2006, 07:14 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,062
Thanks: 81
Thanked 348 Times in 327 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

Downloads - there seems to be a problem with this site's downloads and firefox. IE does not have this issue. We will be looking to get that fixed shortly. In the mean time, you can grab downloads by using IE.

FYI, I cannot reproduce any of the issues in this thread. Authorize.Net works 100% every time for me, on any installation that I have done. It is either a server issue (not compatible, without the correct curl items) or a configuration error in the module itself (wrong trans key, username, etc) or a problem at Authorize net (your account settings there are not correct).

Chris, a vew posts back, you mentioned that there is not Curl section in your PHPinfo. That means your server does NOT have curl compiled into PHP and that is your problem. PHP needs to be recompiled on your machine with curl (and curl must have ssl support).

If PHP were compiled with curl + ssl, you would see something like this at the top of the phpinfo page in the Configure Command section:

Code:
'./configure' '--with-apxs=/usr/local/apache/bin/apxs' '--prefix=/usr/local' '--with-xml' '--enable-bcmath' '--enable-calendar' '--with-curl'
The actual command may be different, but you will see '--with-curl' somewhere in that statement.

Then further down the info page, there will be a section that has this content:

Code:
curl
CURL support 	enabled
CURL Information 	libcurl/7.12.0 OpenSSL/0.9.7a zlib/1.1.4
If either are missing, you do not have the required php configuration and there is no way to use the osCMax authorize.net module.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • 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. Default multi server configuration for exceptional performance!

  • 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!
  #17  
Old 03-01-2006, 09:33 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

Thanks, I see the problem now. I plan on righting it soon.

Right now I am wrestling with code errors after converting an osC2.1 database to an oscmax2 database. I think there may be too many errors to make it worthwhile...

Any advice?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #18  
Old 03-01-2006, 12:14 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,062
Thanks: 81
Thanked 348 Times in 327 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

Create a new thread for your upgrade issues and post the details of the errors you get...
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • 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. Default multi server configuration for exceptional performance!

  • 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!
  #19  
Old 03-01-2006, 01:08 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

Right. Done.

http://oscdox.com/index.php?name=PNp...;p=20993#20993
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
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 01:09 AM
Linkpoint Curl Error mL1 osCommerce 2.2 Modification Help 7 08-21-2004 10:37 AM
Changing "authorize.net" to "Credit Card Deta Christy osCMax v1.7 Discussion 5 08-02-2004 04: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 10:57 AM


All times are GMT -8. The time now is 12:30 PM.


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