3 replies [Last post]
Rick Nashleanas's picture
Offline
Joined: 11/06/2008
Juice: 19
Was this information Helpful?

We just moved from a shared test server to a dedicated server on midphase (an Ubercart affiliate). Our Ubercart transactions used to work, but now we're getting the following. The midphase folks said they recompiled apache to include soap and this is our problem or Ubercart's problem. Since this was working on the other server, I think the problem is at midphase. Can anyone give me some specific things for midphase to implement to give me ammunition? Thanks so much!

    * warning: SoapClient::SoapClient() [function.SoapClient-SoapClient]: I/O warning : failed to load external entity "https://ics2ws.ic3.com/commerce/1.x/transactionProcessor/CyberSourceTransaction_1.38.wsdl" in /home/averageg/public_html/modules/ubercart/payment/uc_cybersource/uc_cybersource.soap.inc on line 13.
    * We apologize for the delay, but we are unable to process your credit card at this time. Please contact sales to complete your order.
    * We were unable to process your credit card payment. Please verify your card details and try again. If the problem persists, contact us to complete your order.
Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6846
Re: SOAP Error

I went to that URL, and it exists, and looks like it's supposed to (as far as I can tell, which isn't much). Check that your server can use SSL, since it's an HTTPS address. OpenSSL would be the most likely thing for midphase to enable.

Rick Nashleanas's picture
Offline
Joined: 11/06/2008
Juice: 19
Next errors

Thanks so much. I got past the last error, now I'm getting:

* warning: DOMDocument::loadXML() [domdocument.loadxml]: EntityRef: expecting ';' in Entity, line: 1 in /home/averageg/public_html/modules/ubercart/payment/uc_cybersource/uc_cybersource.soap.inc on line 27.
* warning: DOMDocument::loadXML() [domdocument.loadxml]: EntityRef: expecting ';' in Entity, line: 1 in /home/averageg/public_html/modules/ubercart/payment/uc_cybersource/uc_cybersource.soap.inc on line 27.
* warning: DOMDocument::loadXML() [domdocument.loadxml]: error parsing attribute name in Entity, line: 1 in /home/averageg/public_html/modules/ubercart/payment/uc_cybersource/uc_cybersource.soap.inc on line 27.
* warning: DOMDocument::loadXML() [domdocument.loadxml]: attributes construct error in Entity, line: 1 in /home/averageg/public_html/modules/ubercart/payment/uc_cybersource/uc_cybersource.soap.inc on line 27.
* warning: DOMDocument::loadXML() [domdocument.loadxml]: Couldn't find end of Start Tag EZ8jBOJ line 1 in Entity, line: 1 in /home/averageg/public_html/modules/ubercart/payment/uc_cybersource/uc_cybersource.soap.inc on line 27.
* warning: DOMDocument::loadXML() [domdocument.loadxml]: StartTag: invalid element name in Entity, line: 1 in /home/averageg/public_html/modules/ubercart/payment/uc_cybersource/uc_cybersource.soap.inc on line 27.
* recoverable fatal error: Argument 1 passed to DOMDocument::importNode() must be an instance of DOMNode, null given in /home/averageg/public_html/modules/ubercart/payment/uc_cybersource/uc_cybersource.soap.inc on line 28.
* warning: DOMDocument::importNode() expects parameter 1 to be DOMNode, null given in /home/averageg/public_html/modules/ubercart/payment/uc_cybersource/uc_cybersource.soap.inc on line 28.
* recoverable fatal error: Argument 1 passed to DOMNode::insertBefore() must be an instance of DOMNode, null given in /home/averageg/public_html/modules/ubercart/payment/uc_cybersource/uc_cybersource.soap.inc on line 29.
* warning: DOMNode::insertBefore() expects parameter 1 to be DOMNode, null given in /home/averageg/public_html/modules/ubercart/payment/uc_cybersource/uc_cybersource.soap.inc on line 29.

I was checking out the code. Starting at line 25, my code is:

   try {
      $requestDOM->loadXML($request);
      $soapHeaderDOM->loadXML($soapHeader);
      $node = $requestDOM->importNode($soapHeaderDOM->firstChild, TRUE);
      $requestDOM->firstChild->insertBefore($node, $requestDOM->firstChild->firstChild);
      $request = $requestDOM->saveXML();
    }
Tanjerine's picture
Offline
Bug FinderInternationalizationizerNot KulvikThe other woman.
Joined: 08/31/2007
Juice: 235
Re: Next errors

Just for the record (since I hit this error awhile ago), I fixed my issue by checking the Merchant ID/Keys at /admin/store/settings/payment/edit/gateways. I noticed the Merchant ID was gibberish, so I reset it to what it was supposed to be really and that fixed my problem.