Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fatal error: Call to undefined method SOAP_Fault::getAck() in /home/content/m/a/n/manualsjust/html/includes/modules/payment/wpp_bela.php on line 361


Recommended Posts

Posted (edited)

All of a sudden, my customer's are complaining about the following error:

 

Fatal error: Call to undefined method SOAP_Fault::getAck() in /home/content/m/a/n/manualsjust/html/includes/modules/payment/wpp_bela.php on line 361

 

I have not made any changes to my site as I'm not a programmer anyhow, and my old programmer is MIA. So I'm pretty much stuck.

Here are the lines referred to in the error message from the file referenced:

 

if($response->getAck() != 'Success' && $response->getAck() != 'SuccessWithWarning')

 

And the lines above and below:

$ddp->setDoDirectPaymentRequestDetails($details);

 

$response = $caller->DoDirectPayment($ddp);

 

$paypal_response = '';

$paypal_response = Services_PayPal::isError($response);

 

// echo"resp: $paypal_response<br>";

// var_dump($response);exit();

//if(1 != $paypal_response or ($response->getAck() != 'Success' && $response->getAck() != 'SuccessWithWarning'))

if($response->getAck() != 'Success' && $response->getAck() != 'SuccessWithWarning')

{

 

//if (WPP_BELA_FAIL_EMAIL == 'No')

//{

//$details = $response->getDoDirectPaymentResponseDetails();

 

//$err_msg = $err[0]->ShortMessage;

if(is_object($response))

{

$err = $response->Errors;

}

if(is_object($err))

{

$err_msg = $err->ShortMessage;

}

else if(is_array($err))

{

$err_msg = $err[0]->ShortMessage;

}

//[email protected] added logging

$pplog_data = date("m/d/y H:i:s") . "\n";

$pplog_data .= print_r($response, true);

$pplog_data .= "\n\n";

$new_file = fopen('admin/pplog', 'a');

 

// echo $pplog_data;

 

SO like I said, I'm not a programmer but I do need help.

 

Thank you

PGelsman aplus52[ at because @ would expose this to spam bots]Cox.net

Edited by Jan Zonjee

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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