PDA

View Full Version : Help



izwar
10-23-2006, 11:09 AM
http://forums.oscommerce.com/index.php?showtopic=233476



i posted that in osc commerece forums mabie someone here knows a solution thanks ive tried many things

Chris
10-23-2006, 12:23 PM
What happens when you try to place an order?

izwar
10-23-2006, 01:40 PM
i get this error

http://img189.imageshack.us/img189/517/errorcz4.jpg

stymiee
10-23-2006, 02:28 PM
Your server may not have the PHP CURL extension compiled. Do a phpinfo() and check to see if it is compiled into PHP. If not, you'll need to compile it.

izwar
10-23-2006, 03:59 PM
how do i do php info on my server, and also it was working before so why the sudden stopage?

stymiee
10-23-2006, 04:45 PM
Maybe your host changed something on you?

Create a php file and make this the only content in it:


<?php phpinfo(); ?>

Upload it to your server and open that page in a browser. Towards the top of the page you should see where it says, "Configure Command". Next to it somewhere it should say, "--with-curl". If it doesn't then that is your problem. If it does, then it is another issue.

izwar
10-23-2006, 06:07 PM
it has curl

stymiee
10-23-2006, 07:59 PM
Well, it gets difficult to troubleshoot from here. Take the attached script and upload it to your server.

Change these two lines to use your Authnet login and current transaction key. You should have this information already in your os commerce setup (Lines 52 & 53):

$auth_net_login_id = "cnpdev1234";
$auth_net_tran_key = "SR2df54jdEn7vFLQ";


Then open that page in your browser. If it works, then something is wrong with oscommerce or your server. If it doesn't, it is an Authnet issue (like maybe bad login and/or transaction key).