Fixed PayPal Error
-
Like many people here I too was having the same Paypal Error: “A payment error has occurred, looks like chosen payment method..”
I installed the Core Control plugin to help diagnose the issue and found that it was trying to verify an SSL certificate but my server doesn’t have one. So I changed two lines of code and it works now.
Open file: wp-content/plugins/camptix/addons/payment-paypal.php
on lines 627 & 639 replace this:return wp_remote_post( $url, array( 'body' => $payload, 'timeout' => 20 ) );
with this:
return wp_remote_post( $url, array( 'body' => $payload, 'timeout' => 20, 'sslverify' => false ) );
Everything works for me now. I hope the developer includes an option to turn SSL off or on in the plugin options setting.
- The topic ‘Fixed PayPal Error’ is closed to new replies.