Laravel & paypal error tls

321
May 26, 2017, at 7:50 PM

I've tried to implement the Paypal API which works like a charm except when the payment occur :

Whoops, looks like something went wrong.

1/1
PayPalConnectionException in /home/epistol/PhpstormProjects/chorale_laravel/vendor/paypal/rest-api-sdk-php/lib/PayPal/Core/PayPalHttpConnection.php line 122:
error:141640B5:SSL routines:tls_construct_client_hello:no ciphers available
in PayPalHttpConnection.php line 122
at PayPalHttpConnection->execute('grant_type=client_credentials') in OAuthTokenCredential.php line 241
at OAuthTokenCredential->getToken(array('mode' => 'sandbox', 'http.ConnectionTimeOut' => 1000, 'log.LogEnabled' => true, 'log.FileName' => '/home/epistol/PhpstormProjects/chorale_laravel/storage/logs/paypal.log', 'log.LogLevel' => 'ERROR'), 

I do think it's TLS related but php artisan serve come with it, isn't it ?

READ ALSO
Pass a unique reference of a clicked element via AJAX

Pass a unique reference of a clicked element via AJAX

The title is somewhat confusing, I'm not sure how to word it right as a title

212
How to insert full content of regex data into wordpress database via PHP?

How to insert full content of regex data into wordpress database via PHP?

I'm trying to insert new post to WORDPRESS using PHPSo this is my code

232
Retrieving json in javascript function with PHP

Retrieving json in javascript function with PHP

I would like to read json valueThe way that I am writing the code is as shown in below

327
Converting JSON data into an object or array

Converting JSON data into an object or array

I am trying to fetch the content from a URL and it gives the following resultThe problem is that I am unable to convert it to an array or object

312