gbarber Posted February 28, 2008 Posted February 28, 2008 I'm aware that this topic has been covered over and over but I've tried everything in the other post and I still can't get transactions to process with authorize.net I'm running Redhat 5 My PHP version is 5.1.6 I'm running Online Merchant v2.2 RC2 I've reinstalled the AIM module from http://addons.oscommerce.com/info/5663/v,22 even though they appear to be the same module I have everything set to false in Configuration->Sessions I've made sure I have curl and that PHP is compiled with curl I have all the correct information entered into the module (Login ID, Transaction Key, etc.) I can my server is communicating with server.authorize.net via https by running tcpdump The error I'm receiving is a general error. I have no idea what this means and I have no error code numbers to track down with authorize.net so I don't know how to go about fixing it.
gbarber Posted February 29, 2008 Author Posted February 29, 2008 I've edited the authorizenet_aim_cc.php file and added curl_setopt($curl, VERBOSE); . Ran another test transaction and from what I can tell it doesn't look like it's passing any credit card information to authorize.net but if that's the case I would think it would return "Invalid number" or something similar instead of just general error. I can see where it's passing the username, address etc. just no credit card info not even an encrypted value. Is there somewhere that tells what causes a general error? I've RTMF or in this case the readme file and can't figure out what's causing this error.
RobertBlas Posted February 29, 2008 Posted February 29, 2008 I also tried the AIM module and get the general error. I printed out the url generated before it gets processed. Like you I found that the credit card number does not get passed, at least in the url. If you make any progress post what you find. I'll do likelwise.
gbarber Posted February 29, 2008 Author Posted February 29, 2008 I also tried the AIM module and get the general error. I printed out the url generated before it gets processed. Like you I found that the credit card number does not get passed, at least in the url. If you make any progress post what you find. I'll do likelwise. I was suppose to have this running today so it could go live this evening doesn't look like it will happen. The only things I can think to try are getting a new transaction id (don't think it will help though) and/or disabling discount coupon codes, unless there is a bug fix for this in RC2a that I haven't found.
satish Posted February 29, 2008 Posted February 29, 2008 The error I'm receiving is a general error.? whats the error. Satish Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does.
gbarber Posted February 29, 2008 Author Posted February 29, 2008 I finally got it to work. I installed 2.2rc2a to a new directory and database then imported my old database into the new one. I then edited catalog/includes/modules/payment/authorizenet_cc_aim.php and beneath line 348 added the two following lines: curl_setopt($curl, CURLOPT_VERBOSE, 1); curl_setopt($curl, CURLOPT_STDERR, '/var/log/httpd/error_log'); I don't know why this works but I tried adding it to my 2.2rc2 install and it didn't work. I also tried removing it from my 2.2rc2a install and every time I removed the lines I would receive the general error. Hope this helps
Recommended Posts
Archived
This topic is now archived and is closed to further replies.