Jump to content
  • 0

Question

Posted

I'm having trouble with the BitPay payment gateway. At first when checking out and clicking the "Pay with BitPay" button, the page just went back to step 1 in the checkout process. I read in another thread that this means there was an error with the BitPay gateway and to check the logs. (It might be better to display an error, rather than just going back to step 1 if there's an issue.)

 

The logs are showing:

 

a:1:{s:5:"error";s:67:"Peer certificate cannot be authenticated with known CA certificates";}

1 answer to this question

Recommended Posts

  • 0
Posted

It sounds like your PHP curl is not accepting bitpay.com's SSL certificate. This should be fixed on your server, but you may be able to get around it by editing components/gateways/nonmerchant/bitpay/lib/bp_lib.php. Search for CURLOPT_SSL_VERIFYPEER and change it from 1 to false. You may need to change CURLOPT_SSL_VERIFYHOST also, but I'm not certain.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   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...