bradf30 Posted July 24, 2008 Posted July 24, 2008 Sorry I'm not getting almost no support with this from the involved parties, or they simply have higher priorities. Perhaps some one here has a suggestion. Yesterday TCH upgraded my server to PHP5 and MySQL5 at my request. I use oscommerce with a payment module provided by Netbilling. After upgrade oscommerce worked fine, but couldn't complete credit card transactions with the existing payment module. I get back messages that say the following in a log file, after all the transaction info is displayed. "Response: HTTP/1.0 601 No Input Parameters Connection: close Content-Length: 0" We rolled back to the prior versions of PHP and MySQL this morning and installed the backup database. Still the same problem. Anyone have a suggestion as to a cause and a solution. I'm dead in the water here. Thanks, Brad Quote
TCH-Bruce Posted July 24, 2008 Posted July 24, 2008 Did you happen to read the pinned Oscommerce post at the top of this forum? Quote
bradf30 Posted July 24, 2008 Author Posted July 24, 2008 Did you happen to read the pinned Oscommerce post at the top of this forum? I did, but I didn't notice until late last night that the files were saved in all upper case letters, and probably weren't accessed, as they didn't over write the lower case named files. Those fixes I believe apply to oscommerce rather than add on modules, and I read some where that my version of oscommerce should work with version 5. We have rolled back to PHP4 and MySQL4 so this shouldn't be the issue now. Those who wrote the PHP code for the payment module don't appear to be in the loop anymore, and those familiar with it don't appear to work for Netbilling at this time. Very strange and frustrating. It is probably a simply fix too. Quote
bradf30 Posted July 25, 2008 Author Posted July 25, 2008 Just to let you know, I did a virgin install of the latest version of oscommerce on a different domain on the same server, installed the Netbilling module, and I get the same error. This particular error has never occurred when I installed oscommerce twice in the past, on two different servers, and I have installed the netbilling payment modules several times in the past without an error like this. Other than when cURL wasn't installed, the installs were without incident. Anyone have an idea of what changed? Quote
TCH-Bruce Posted July 25, 2008 Posted July 25, 2008 Please open a ticket with the help desk. Only the techs will be able tell you if anything has changed. Quote
bradf30 Posted July 25, 2008 Author Posted July 25, 2008 (edited) Please open a ticket with the help desk. Only the techs will be able tell you if anything has changed. TCH tech support did work on the issue early this morning without success. We have determined we can talk to the credit card processor's server to fetch a transaction ID, but we are not able to successively transmit the main packet of information via PHP and CURL commands. CURL appears to be up and running correctly. Why would part of it work but not the other? Aren't they truly not receiving the data, is it in the wrong format, etc, etc. Any ideas? >Works: $curlHandle = curl_init (); curl_setopt($curlHandle, CURLOPT_URL,"http://secure.netbilling.com:1401/gw/sas/getid3.0"); curl_setopt($curlHandle, CURLOPT_GET, 1); curl_setopt($curlHandle, CURLOPT_NOBODY, 0); curl_setopt($curlHandle, CURLOPT_RETURNTRANSFER, 1); $res = curl_exec($curlHandle); $curlErrorNo = 0; $curlErrorMsg = ""; >Doesn't work: $curlHandle = curl_init (); curl_setopt($curlHandle, CURLOPT_URL,"https://secure.netbilling.com:1402/gw/sas/direct3.0"); curl_setopt($curlHandle, CURLOPT_POST, 1); curl_setopt($curlHandle, CURLOPT_HEADER, 1); curl_setopt($curlHandle, CURLOPT_POSTFIELDS, $post_str); curl_setopt($curlHandle, CURLOPT_NOBODY, 0); curl_setopt($curlHandle, CURLOPT_RETURNTRANSFER, 1); curl_setopt($curlHandle, CURLOPT_ENCODING , "x-www-form-urlencoded"); curl_setopt($curlHandle, CURLOPT_SSL_VERIFYHOST, 2); curl_setopt($curlHandle, CURLOPT_SSL_VERIFYPEER, FALSE); $res = curl_exec($curlHandle); $resposeHttpCode = (int)curl_getinfo($curlHandle, CURLINFO_HTTP_CODE); $curlErrorNo = 0; $curlErrorMsg = ""; Edited July 25, 2008 by bradf30 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.