Open vlatkorun opened 8 years ago
In the current constructor method the path to the cacert.pem is giving CURL error on Unix: $this->cacert = getcwd() . '\\cacert.pem
$this->cacert = getcwd() . '\\cacert.pem
This should be: $this->cacert = getcwd() . '/cacert.pem
$this->cacert = getcwd() . '/cacert.pem
Can you add a setter method for this file?
I do a little modification: https://github.com/latrell/Alipay/commit/7c26ff347ca3925901a5ef48275376b8045f28d1
In the current constructor method the path to the cacert.pem is giving CURL error on Unix:
$this->cacert = getcwd() . '\\cacert.pem
This should be:
$this->cacert = getcwd() . '/cacert.pem
Can you add a setter method for this file?