cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

cURL error 77: An error occurred, please try again or try an alternate form of payment.

Hiya,

 

I run a WooCommerce store.

 

Authorize.net has been fine for over a year. Now all of a sudden I get the error:

cURL error 77: An error occurred, please try again or try an alternate form of payment.

 

All orders in the past week have failed.

 

Can anyone help?

 

Thanks in advance.

 

Brett

Redvers
Member
4 REPLIES 4

Error 77 from cURL indicates a problem with reading the SSL CA certificates(Path? Access rights?).

Powered by NexWebSites.com -
Certified Authorize.net developers
NexusSoftware
Trusted Contributor

Site is https://bootyparlor.com

 

SSL seems fine:

https://www.ssllabs.com/ssltest/analyze.html?d=bootyparlor.com

 

This issue suddenly started on the 2nd Nov.

No relation to when the SSL was setup.

 

 

I have spoken with the host and Authorize.net support chat and nobody has any ideas.

 

Authorize.net is currently in test mode on the site.

 

Do you have any ideas?

 

Thanks,

 

Brett

The Certificate for cURL is different from the one for your server.

You should ensure you are using an update version of cURL.

libcurl performs peer SSL certificate verification by default. This is done by installing a default CA cert on 'make install' (or similar), that CA package is used by default on operations against SSL servers.

 

Options would be:

  • Tell libcurl to not verify the peer. With libcurl you disable with with curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, FALSE);
  • Get a CA certificate that can verify the remote server and use the proper option to point out this CA cert for verification when connecting.
    curl_easy_setopt(curl, CURLOPT_CAPATH, capath);
  • Add the CA cert for your server to the existing default CA cert.
    The default path of the CA installed with the curl package is:
    /usr/local/share/curl/curl-ca-.crt, which can be changed by running configure with the --with-ca option pointing out the path of your choice.
  • To do this, you need to get the CA cert for your server in PEM format and then append that to your CA cert. You can get a CA certificate at: http://curl.haxx.se/docs/caextract.html
Powered by NexWebSites.com -
Certified Authorize.net developers

Thanks!

 

I have absolutely no idea what any of that means! ;-)

 

But I have passed it onto my host via a support ticket and have to hope and pray that someone can resolve it.

 

Much appreciated.

 

Brett