微信退款时Curl出错,错误码:58

WBOY
Release: 2016-06-20 12:44:10
Original
3429 people have browsed it


我是用微信官网的demo作的测试,退款接口出

两个pem证书地址也对呀,用的是网址加绝对路径


回复讨论(解决方案)

curl出错,错误码:58
错误原因查询
业务结果:
错误代码:
错误代码描述:
公众账号ID:
商户号:
子商户号:
设备号:
签名:
微信订单号:
商户订单号:
商户退款单号:
微信退款单号:
退款渠道:
退款金额:
现金券退款金额:

一种原因就证书路径不对,下载[证书调用示例]中PHP实例,路径定好windows组件版中的证书,用
getcwd().'/apiclient_cert.pem'这种写法。

怎样解决的?

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template