支付宝当面付接口,官方的demo无法正常请求,返回“无效签名”

Ning1994 发布于 2015/12/30 15:56
阅读 27K+
收藏 0
十二月 30, 2015 3:47:08 下午 com.alipay.api.internal.util.AlipayLogger logBizError
严重: 2015-12-30 15:47:08^_^{"alipay_trade_refund_response":{"code":"40002","msg":"Invalid Arguments","sub_code":"isv.invalid-signature","sub_msg":"无效签名"},"sign":"aUududgICSy+Wr5NppUHX3FedZeQJCZ+L+xYy7q/TwwXLT5PEkF1PGlbG8hohV0kLZO9iFkWt7mhJeozz5GAp9cqVCnvEdiOT1ausq1EdBXIWF4kPb8C2ssoq6OpgBoHgd+cPbpaekbwbyHxWIHvfZopDUCG+G8aTUxJjLrTVsY="}
com.alipay.api.AlipayApiException: com.alipay.api.AlipayApiException: sign check fail: check Sign and Data Fail!
at com.alipay.api.DefaultAlipayClient._execute(DefaultAlipayClient.java:155)
at com.alipay.api.DefaultAlipayClient.execute(DefaultAlipayClient.java:93)
at com.alipay.api.DefaultAlipayClient.execute(DefaultAlipayClient.java:80)
at com.alipay.f2fpay.ToAlipayBarTradePay.refundOrder(ToAlipayBarTradePay.java:431)
at com.alipay.f2fpay.ToAlipayBarTradePay.main(ToAlipayBarTradePay.java:42)
Caused by: com.alipay.api.AlipayApiException: sign check fail: check Sign and Data Fail!
at com.alipay.api.DefaultAlipayClient._execute(DefaultAlipayClient.java:142)
... 4 more

加载中
0
黎舜桀
黎舜桀
有没有找到原因?
黎舜桀
黎舜桀
回复 @Lyon1994 : 好的,谢谢,我也找到原因了,掉错接口了。
Ning1994
Ning1994
找到了,是因为公司给我的私钥本来就是错的, 现在重新给我了一份就正常了。。。
0
刹那荒芜
刹那荒芜

在调用支付宝接口的时候报错了.

能留下联系方式交流下么?我的qq:279328316
Ning1994
Ning1994
965791593,我的qq
返回顶部
顶部