-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
「支付宝转账」证书序列号问题 #334
Comments
已找到问题所在 https://github.com/yansongda/pay/blob/master/src/Gateways/Alipay/Support.php#L439-L450
https://github.com/yansongda/pay/blob/master/src/Gateways/Alipay/Support.php#L373 根据我的根证书 由此可得出,BC 函数库 PHP7.1 之后有浮点数,处理一下浮点数就行。
|
Yansongda \ Pay \ Exceptions \ GatewayException (4) 怎么参数错误? |
ERROR_GATEWAY: Get Alipay API Error:Business Failed - INVALID_PARAMETER |
非常棒啊,我也遇到了这个问题,完美解决,感谢 |
包版本号
FPM 运行环境
问题描述
支付宝开放平台开发助手申请的:RSA2、PKCS1(非 JAVA 适用) 的 csr 文件,并且已经成功上传和下载证书
无论怎么请求都是:「isv.invalid-alipay-root-cert-sn」「无效支付宝根证书序列号」,可以确保的是证书文件肯定没动,配置检查过很多遍,所以有点怀疑是生成序列号有点问题
你的代码
配置
实际请求代码
报错详情
sdk 日志
nginx/apache 日志
实时请求无通知
The text was updated successfully, but these errors were encountered: