-
Notifications
You must be signed in to change notification settings - Fork 109
SSL peer handshake failed on TLS1.2 #897
Comments
Can you try with v1.12.0? https://github.com/paypal/PayPal-PHP-SDK/releases |
Got the same error with v1.12 and cURL v7.54.1 / OpenSSL v1.0.2l. Found out that it works if you don't set Doesn't work: Works: |
@aronzillo does removing the SSL version in the request correct the issue for you? |
Fixed it for me. |
TLS 1.2 is currently what should be used. I would see if |
Close this issue due to inactivity. |
@pp-randy I tried with |
+1, I have the same error, this is only happening in sandbox |
+1 - Having the same error come back too in sandbox. Working on production. |
+1 - Having the same issue here. Actually, I'm getting this response in local dev on my MacBook, but using Sandbox on my staging server is fine. So could be to do with the server environment, not the fact that you're using Sandbox. Using 1.12.0 |
I opened #943 because this one seems not to get noticed any more since it's gotten closed |
Please refer to #943 for the answers. |
General information
Issue description
I am trying to implement PayPal on my site, but when trying to ask for approval of the purchase I get the following error:
PayPalConnectionException {#221 ▼ -url: "https://api.sandbox.paypal.com/v1/oauth2/token" -data: null #message: "SSL peer handshake failed, the server most likely requires a client certificate to connect" #code: 35 #file: "/Users/Aronzillo/Laravel/ecommerce/vendor/paypal/rest-api-sdk-php/lib/PayPal/Core/PayPalHttpConnection.php" #line: 122
What happen here?
The text was updated successfully, but these errors were encountered: