兴业银行支付PHP-SDK 踩坑

Fork Me On Github
zodream DEBUG问题集 PHP 2019年04月

需全局使用RSA签名

支付方法默认没有传证书路径及密码给签名方法

Signature 需添加传递 $this->epay_config['mrch_cert'], $this->epay_config['mrch_cert_pwd']

验签需手动传递证书路径

返回的参数必须去除自定义参数,VerifyMac 方法需传递证书 $this->epay_config['isDevEnv'] ? $this->epay_config['epay_cert_test'] : $this->epay_config['epay_cert_prod'];

点击查看全文
0 226 0