Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

ACH Payments Gateway


harlow

Recommended Posts

There is a payment module posted on the OSCommerce site for ACH PaymentsGateway, but it seems to have a problem that I have been unable to resolve. The module was originally posted and maintained by a user called andy5 back in 2006, but I have been unsuccessful in contacting him.

 

The nature of the problem is that the distribution of this add-on includes an older Nusoap tree that is known to have incompatibilities with PHP5. Specifically, you get a message like this:

 

Fatal error: Cannot redeclare class soapclient in <path to my store>/includes/classes/nusoap/lib/nusoap.php on line 7240

 

This seems to be a known problem, and I have tried a couple of fixes that have been proposed, but none of them seem to work. I am going to continue trying to isolate the exact problem and fix it, but meanwhile, if anyone out there is using this module successfully, or is experiencing problems like mine, I would appreciate hearing from you. Maybe we can band together and get this thing working.

 

Cheers ;)

 

Justin Harlow

Link to comment
Share on other sites

There is a payment module posted on the OSCommerce site for ACH PaymentsGateway, but it seems to have a problem that I have been unable to resolve. The module was originally posted and maintained by a user called andy5 back in 2006, but I have been unsuccessful in contacting him.

 

The nature of the problem is that the distribution of this add-on includes an older Nusoap tree that is known to have incompatibilities with PHP5. Specifically, you get a message like this:

 

Fatal error: Cannot redeclare class soapclient in <path to my store>/includes/classes/nusoap/lib/nusoap.php on line 7240

 

This seems to be a known problem, and I have tried a couple of fixes that have been proposed, but none of them seem to work. I am going to continue trying to isolate the exact problem and fix it, but meanwhile, if anyone out there is using this module successfully, or is experiencing problems like mine, I would appreciate hearing from you. Maybe we can band together and get this thing working.

 

Cheers ;)

 

Justin Harlow

I think I solved my own problem, so here is what I found: In the latest versions of nusoap, the function to create a client has been renamed. The original achdCC.php at line 420 needs to be changed to the following: $client = new nusoap_client($wsdl,true); // create soap client

If you don't do this, it tries to use the native soapclient in PHP5, which has different parameter types, and you get the error I originally reported.

 

Hope this helps someone

 

JEH

Link to comment
Share on other sites

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