Tuesday, October 25, 2011

osCommerce ‘Call to undefined method SOAP_Fault::getErrors()’ error with PayPal payment module

PayPal have recently updated their SSL certificate. This may result in the following error in some shopping cart applications using a PayPal payment module:
Fatal error: Call to undefined method SOAP_Fault::getErrors() in … preview/includes/modules/payment/paypal_dp.php on line 403
The solution to that problem is to replace this file:
/pear/Services/PayPal/cert/api_cert_chain.crt
with the file containing the new certificate. The new file can be downloaded from this URL.

No comments: