Posted: April 14, 2018 at 10:46 am
|
Hello, I’m trying to setup Event Espresso on a site with a paypal express gateway.
I have setup a second website on the same domain as the main site and it also does not work. I have a demo Event Espresso Site (hosted by Event Espresso). That connects with the Paypal sandbox, no problem. When I copied all the settings and Paypal Sandbox API from demo site to my main site, I cannot get it to work. I cannot find more details on the error when I look into Event Espresso > Payment Methods > Logs . I don’t know if I should click on the “ID” or “Transaction ID”, but neither of those gives me any sort of error code other than “Error occurred while trying to setup the Express Checkout.” I belive have a valid SSL certificate on the site. Checked via https://www.digicert.com/ Need to get this working. |
|
hosted site is http://www.seedioru.com/web/ Demo site is http://demoee.org/suviharitest2/ |
Hi there, It sounds like your server can not connect to PayPal but there is a lot of reasons that can happen. http://www.seedioru.com/web/ doesn’t resolve for me so I can’t view the site?
You click on the ID of the log entry, not the Txn ID. Open up the payment logs and note the highest log entry ID. Attempt to make just one payment with PayPal Express and it will create multiple entries in the log table. Go through each log entry and look for any errors in those. ‘Error occurred while trying to setup the Express Checkout’ happens when EE tried to connect to payment an create a Payment token but the response from PayPal (or your server) was invalid and no error message/code was returned to display. Note that if you can’t see any errors you made need to enable WPDebug on the site using this snippet: https://eventespresso.com/wiki/troubleshooting-checklist/#wpdebug Then repeat the test and check the logs and |
|
|
The error I’m getting on some of the IDs is:
|
|
What does this error mean? Did some digging, and have tried a few things. I tried using the code suggested by Josh in this forum thread: I’ve uploaded plugin called TLS 1.2 Compatibility Checker. Our server is a Bluehost ‘shared’ host, so I can’t upgrade the TLS or cURL versions, without upgrading to a much more expensive package. Could it be something to do with the HTTP postback to Paypal instead of HTTPS? How do I force that? |
|
noticed a typo on the hosted site. It should be http://www.seedrioru.com/web/ |
Yeah the problem is you server can not connect to PayPal, or more accurately, PayPal is refusing the connection.
Regardless of what the plugin shows, you need to update curl to 7.29+ (just install the latest version) and I’d also recommend updating OpenSSL. The reason the CURL notice is in red is it’s an important update, it also sates to make sure you are running OpenSSL 1.0.1 OR X OR Y, which I’m guessing your are not, updating OpenSSL meets that criteria. If you are unsure on how to update those you can contact your host and have them do it for you. See: https://unix.stackexchange.com/questions/192944/how-to-fix-curl-sslv3-alert-handshake-failure
So they won’t update the server, or move you to another server that has been updated?
No, it’s a handshake failure, as in the connection is trying to negotiate which TLS version to use and your server and PayPal don’t agree on the correct protocol. |
|
|
I’ve spoken with the bluehost tech support. e’re on a bluehost shared server, they’ve stated that they cannot upgrade eithWer the TLS, the cURL or the Open SSL. Since we’re a non-profit organization, we cannot afford to quadruple our web hosting costs, so upgrading to a higher service level is not an option. I guess I’m stuck with trying to force the cURL to use the 1.2 methods. |
Can’t they move you to another shared server that has been updated? They will have more than one shared server.
I’m not suggesting you upgrade to higher service level.
I don’t have enough info to be able to answer that but at a guess, if you are using the WP editor (which isn’t really recommended) and you are adding all of the code in that snippet shown then you are adding the opening php tag If you are including line 1 when copying the code, try without that line. |
|
|
I copied the text without the I then setup the code provided by Josh in the following post I used it to create a functions plugin I got the following error message when trying to activate the plug-in. I was getting similar errors when trying to put the code (without the
|
|
plug-in code: `<?php /** |
Change this line To this:
The plugin should then activate for you. |
|
The support post ‘Paypal Express Setup – not configured properly’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.