Title: Fixed PayPal Error
Last modified: August 21, 2016

---

# Fixed PayPal Error

 *  Resolved [contemplate](https://wordpress.org/support/users/contemplate/)
 * (@contemplate)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/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.
 * [http://wordpress.org/extend/plugins/camptix/](http://wordpress.org/extend/plugins/camptix/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [davidi@lollylegs.com](https://wordpress.org/support/users/davidilollylegscom/)
 * (@davidilollylegscom)
 * [13 years ago](https://wordpress.org/support/topic/fixed-paypal-error/#post-3709715)
 * Great work, thanks, works like a charm !!
 *  Plugin Contributor [Ian Dunn](https://wordpress.org/support/users/iandunn/)
 * (@iandunn)
 * [13 years ago](https://wordpress.org/support/topic/fixed-paypal-error/#post-3709716)
 * Hi contemplate, I think you should only get that error if there’s something wrong
   with the connection between you and PayPal. I’d caution against disabling `sslverify`,
   because it could make you vulnerable to certain types of attacks.
 * However, if you do want to disable it, you shouldn’t need to modify CampTix. 
   You can probably use the `https_ssl_verify` filter in WordPress to disable the
   check. Just make sure you only disable it for the specific CampTix request, rather
   than for all requests.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Fixed PayPal Error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/camptix_aea99d.svg)
 * [CampTix Event Ticketing](https://wordpress.org/plugins/camptix/)
 * [Support Threads](https://wordpress.org/support/plugin/camptix/)
 * [Active Topics](https://wordpress.org/support/plugin/camptix/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/camptix/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/camptix/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Ian Dunn](https://wordpress.org/support/users/iandunn/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/fixed-paypal-error/#post-3709716)
 * Status: resolved