Jump to content

Recommended Posts

Posted

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

 

Anyone have a suggestion as to a cause and a solution. I'm dead in the water here.

 

Thanks,

Brad

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

Posted

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?

Posted (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 by bradf30

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...