daviddawn 0 Posted September 6, 2014 Report Share Posted September 6, 2014 Hi all, I am faced with an error from stripe when attempting to process a transaction on the billing_stripe.php page, i believe it has something to do with stripe accepting my SSL certificate which is self signed via openssl, do i have to edit one of the stripe files and give the path to my certificate? i am able to use https through my site pages with my self signed SSL certificate however when i process the order with https still enabled in the url address bar, i receive the following error messages: "Unable to set verify locations" "failed to create an SSL handle" "Failed to enable crypto in" "unable to connect to ssl://api.stripe.com:443 (Unknown error) in" the error is occurring in the function stream_socket_client() despite receiving the error i do receive the token from stripe and can see this also on my stripe dashboard on my account. please advise on how to resolve the issue. thanks in advance! Quote Link to post Share on other sites
Larry 429 Posted September 11, 2014 Report Share Posted September 11, 2014 I believe this error should not be because of your SSL certificate, rather an issue with cURL on your system. I believe there are some threads in StackOverflow that specifically address causes and solutions of this (or just Google). Quote Link to post Share on other sites
daviddawn 0 Posted September 14, 2014 Author Report Share Posted September 14, 2014 HI Larry, thanks for replying, its ok i sorted the problem now, the error "Unable to set verify locations" and "failed to create an SSL handle" error were occuring because stripes file "ApiRequestor.php" was referencing the wrong path to their SSL certificate in my directory, a little fix in the path to help find the file sorted it. thanks Quote Link to post Share on other sites
Larry 429 Posted September 15, 2014 Report Share Posted September 15, 2014 Awesome. Kudos for figuring it out and thanks for letting me know. Quote Link to post Share on other sites
officialpranab 0 Posted January 6, 2015 Report Share Posted January 6, 2015 Hi, I am facing this error when connecting with stripe. Warning: stream_socket_client(): failed to create an SSL handle in .. /public_html/lib/Stripe/ApiRequestor.php on line 365 Please advice me how to solve this. Quote Link to post Share on other sites
Larry 429 Posted January 6, 2015 Report Share Posted January 6, 2015 Most likely there's a problem with your SSL configuration on your server. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.