Fatal error: Uncaught Error sending request to Stripe: Could not connect to Stripe (https://api.stripe.com/v1/checkout/sessions). Please check your internet connection and try again. If this problem persists, you should check Stripe's service status at https://twitter.com/stripestatus, or let us know at support@stripe.com.
(Network error [errno 6]: getaddrinfo() thread failed to start
)
Stripe\Exception\ApiConnectionException: Could not connect to Stripe (https://api.stripe.com/v1/checkout/sessions). Please check your internet connection and try again. If this problem persists, you should check Stripe's service status at https://twitter.com/stripestatus, or let us know at support@stripe.com.
(Network error [errno 6]: getaddrinfo() thread failed to start
) in /home/windevelwb/www/stripe/vendor/stripe/stripe-php/lib/HttpClient/CurlClient.php:651
Stack trace:
#0 /home/windevelwb/www/stripe/vendor/stripe/stripe-php/lib/HttpClient/CurlClient.php(603): Stripe\HttpClient\CurlClient->handleCurlError('https://api.str...', 6, 'getaddrinfo() t...', 0)
#1 /home/windevelwb/www/stripe/vendor/stripe/stripe-php/lib/HttpClient/CurlClient.php(359): Stripe\HttpClient\CurlClient->executeRequestWithRetries(Array, 'https://api.str...', NULL)
#2 /home/windevelwb/www/stripe/vendor/stripe/stripe-php/lib/ApiRequestor.php(586): Stripe\HttpClient\CurlClient->request('post', 'https://api.str...', Array, Array, false, 'v1', NULL)
#3 /home/windevelwb/www/stripe/vendor/stripe/stripe-php/lib/ApiRequestor.php(136): Stripe\ApiRequestor->_requestRaw('post', '/v1/checkout/se...', Array, Array, 'v1', Array, NULL)
#4 /home/windevelwb/www/stripe/vendor/stripe/stripe-php/lib/ApiOperations/Request.php(111): Stripe\ApiRequestor->request('post', '/v1/checkout/se...', Array, Array, 'v1', Array)
#5 /home/windevelwb/www/stripe/vendor/stripe/stripe-php/lib/Checkout/Session.php(151): Stripe\ApiResource::_staticRequest('post', '/v1/checkout/se...', Array, NULL)
#6 /home/windevelwb/www/stripe/test_checkout.php(12): Stripe\Checkout\Session::create(Array)
#7 {main}
thrown in /home/windevelwb/www/stripe/vendor/stripe/stripe-php/lib/HttpClient/CurlClient.php on line 651