TLS 1.2 verification fail: cURL error (6): Could not resolve host: tlstest.paypal.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I use paypal express and everything works with live mode but not in sand mode. I get the above error message.
Any idea why?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Thank you for posting to the PayPal Sandbox Community.
Usually that error means that in your Sandbox Environment you are not TLS 1.2 compliant. You have a few options available, you can ensure that your sandbox environment is TLS 1.2 Compliant. You will want to keep your live settings to remain TLS 1.2 compliant, but in sandbox you can either ensure that your environment is compliant, or make an update to your cURL calls for Sandbox Only:
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 0);
Thank you,
Jennifer
PayPal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The answer does not seem to be accurate. This error usually means there is something wrong with DNS resolution.
In fact I am almost sure it's an existing issue.
Wait, here you go, it was reported 8 months ago ! And never responded to.
Paypal, please fix the DNS record please.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@MTS_Jenniferit has already MORE THAN 1 YEAR and the issue is still present!
Amazing! https://tlstest.paypal.com/ is fully dead. What happens with PayPal and its support?
Ah! I forgot to say, this happens in Sandbox and PRODUCTION ENVIRONMENT.
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Assistance Required: Locating Existing APP ID for Adaptive Payments in PayPal Business Account in NVP/SOAP APIs
- webhook deregistration in REST APIs
- Paypal Pro - Payment issue in NVP/SOAP APIs
- Issue with Venmo Button Not Showing in Sandbox Environment
- PAYMENT.SALE.COMPLETED signature verification failed in sandbox mode in REST APIs