The solution to the below error when initiating calls using the Copy and Pay integration running on a localhost.


Error sending request: cURL error 60: SSL certificate problem: certificate has expired (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)

Advise that the SSL verification for the test URL has been disabled in the local environment.

The following StackOverflow might be useful too if the merchant is hosting the website via LAMP, XAMP, MAMP.

https://stackoverflow.com/questions/35638497/curl-error-60-ssl-certificate-prblm-unable-to-get-local-issuer-certificate

https://stackoverflow.com/questions/46497020/error-guzzlehttp-curl-error-60-ssl-certificate