Search code examples
phpsslcurlpaypalsandbox

Paypal can not connect to Sandbox server. Return error 14077410 (sslv3 alert handshake failure)


The site that connect sandbox paypal works , until recently

it can connect will curl

but when it send the request at the second time

it show the error of

error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure

I have tried some reference online and set the SSL SHA-256 cert of it but it return same error. Other suggest switch to TLS at the curl connection but it may not perfered as there are many project I have handled.

Are there any suggestion to connect sandbox paypal with SSLv3? Thanks for helping.

enter image description here

enter image description here

enter image description here


Solution

  • You'll have to switch the cURL request to use TLS 1.2 in order to use the PayPal sandbox. I'm in the same boat, and there's no way around it, unfortunately. They just activated the change on the sandbox environment a few days ago.

    https://devblog.paypal.com/upcoming-security-changes-notice/