Jump to content
Larry Ullman's Book Forums

Stripe Error When Processing Payment..unable To Set Verify Locations


Recommended Posts

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!

 

Link to post
Share on other sites

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

Link to post
Share on other sites
  • 3 months later...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...