PayPal SSL SSL SSL ordination error Suddenly started using PayPal PHP SDK?

Until today, I have successfully developed using the PayPal sandbox using the new PayPal PHP SDK, which is preconfigured to use this sandbox URL:

https://api.sandbox.paypal.com/2.0/
(URL in Chrome now returns: "Error 107 (net :: ERR_SSL_PROTOCOL_ERROR): SSL protocol error.")

But today my webapp crashes due to SSL confirmation failure: Uncaught exception 'PPConnectionException' with message 'error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure' in ./paypal-sdk-1.0.92/lib/PPHttpConnection.php:185

The only event that happened yesterday (the last time my web manager worked) is I reset my sand seller account, which may have reset the API credentials according to this post . Since I updated the API credentials manually and verified that they are correct, I cannot say if they were ever erroneous at the moment.

After many searches, I found other web articles that say the URL should be:

https://api-3t.sandbox.paypal.com/2.0/
(The URL in Chrome returns a SOAP response.)

So, I changed the URL of my PayPal PHP SDK from https://api.sandbox.paypal.com/2.0/ to https://api-3t.sandbox.paypal.com/2.0/ and it works fine. What happened here? Is a non-sandboxed “3t” URL just broken right now?

EDIT: After the feedback received from @Win and @JoelP, I filed an error via the gitub PayPal SDK , so someone from PayPal can explain what changed today and fix the SDK to have the correct URL when using the credentials Signature data.

EDIT 2: PayPal fixed the problem a few days ago. It will be available in a future release. https://github.com/paypal/SDKs/issues/22#issuecomment-8660682

.

+5
3

enter image description here

API PayPal.

+5


, -. sdk x.com .

GitHub https://github.com/paypalx/SDKs/issues/22

, Prasanna.

+4

, , . , jimp SDK:

service.EndPoint="https://api-3t.sandbox.paypal.com/2.0/"

solved my problem. (This is in the configuration file SDK / sdk_config.ini in Paypal).

In my case, I am using the PHP SDK. I have not changed anything in my sandbox. I assume the source URL is just for a while. (Firefox displays a "Secure Connection" warning).

+2
source

All Articles