Support

Home Forums Event Espresso Premium Error on save Paypal Express options

Error on save Paypal Express options

Posted: May 7, 2018 at 7:59 pm


JTS

May 7, 2018 at 7:59 pm

When I fill in the API user / password / signature with debug turned on I get this each time:

Fatal error: Cannot use object of type WP_Error as array in D:\InetPub\vhosts\mwccorp.com\caljts.com\wp-content\plugins\event-espresso-core-reg\payment_methods\Paypal_Express\forms\SettingsForm.php on line 202


Tony

  • Support Staff

May 8, 2018 at 5:03 am

Hi there,

That error means the request used to confirm your PayPal Express credentials are valid is failing and returning a WP_Error, EE is then trying to use a value from the response but its invalid.

This usually means there is an issue with the server preventing it from connecting to PayPal Express.

On that site can you install this plugin:

https://wordpress.org/plugins/log-http-requests/

Once that plugin has been activated go to Event Espresso -> Payment methods -> PayPal Express, provide your details and click save again (note it will again throw the error).

Now go to Dashboard -> Settings -> Log HTTP Requests.

Click on the ‘https://api-3t.sandbox.paypal.com/nvp’ request, does it show a WP_Error in the response field there there?


JTS

May 10, 2018 at 3:11 pm

Sure thing, here’s the response:

Response

{
  "errors": {
    "http_request_failed": [
      "cURL error 35: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure"
    ]
  },
  "error_data": []
}
  • This reply was modified 3 months, 1 week ago by  Josh. Reason: redacted irrelevant information


Josh

  • Support Staff

May 10, 2018 at 7:32 pm

Hi there,

This is usually fixed by updating your server OS so to the current stable version, which will usually include an update to OpenSSL. See also:

https://stackoverflow.com/questions/35003430/yet-another-paypal-curl-ssl-v3-handshake-error-ssl23-get-server-hellosslv3

Can you contact your hosting provider to see if they can update the server?

The support post ‘Error on save Paypal Express options’ 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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Josh 3 months, 1 week ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!