While using BigCommerce API if you are getting the below error:
" Fatal error: Uncaught exception 'BigCommerce_Api_NetworkError' with message 'SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL "
This is because by default it checks to verify the SSL certificate used by the BigCommerce store.
Adding the below line of code will disable the check.
BigCommerce_Api::verifyPeer(false);
" Fatal error: Uncaught exception 'BigCommerce_Api_NetworkError' with message 'SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL "
This is because by default it checks to verify the SSL certificate used by the BigCommerce store.
Adding the below line of code will disable the check.
BigCommerce_Api::verifyPeer(false);
adding it where?
ReplyDeleteabove your configuration array or after, or near each call to the api?