cURL error 77: error setting certificate verify locations: CAfile using laravel [duplicate]

Published

i want to integrate stripe in my laravel project, it gives me error:

cURL error 77: error setting certificate verify locations: CAfile: D:wamp64binphpphpphp7.3.5extrassslcurl-ca-bundle.crt CApath: none (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://api.stripe.com/v1/charges?amount=0&currency=CAD&description= Order`,

I found some solution such as: here and I notice that most of the question ask for ... sslcacert.pem CApath: none .. but me it is for sslcurl-ca-bundle.crt CApath: none, I have already applied the solutions found but without result.

.env

STRIPE_KEY=pk_test_p7FbGbClLQWgh3xr.........
STRIPE_SECRET=sk_test_PcRh9X.............

config/services.php

'stripe' => [
        'model' => AppUser::class,
        'key' => env('STRIPE_KEY'),
        'secret' => env('STRIPE_SECRET'),
    ],

Source: Laravel

Published
Categorised as curl, laravel, php, ssl Tagged , , ,

Answers

Leave a Reply

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq