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 comment
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 comment
Share on other sites

  • 3 months later...
 Share

×
×
  • Create New...