PGelsman Posted July 16, 2010 Posted July 16, 2010 (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 July 16, 2010 by Jan Zonjee 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.
Note: Your post will require moderator approval before it will be visible.