请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

按要求配置好zfbinfo.properties文件,运行main()文件依然报错。。。。。。。

十月 12, 2020 11:55:52 下午 com.alipay.api.internal.util.AlipayLogger logBizError

严重: 2020-10-12 23:55:52^_^{"alipay_trade_precreate_response":{"code":"10000","msg":"Success","out_trade_no":"tradeprecreate16025181454134587957","qr_code":"https:\/\/qr.alipay.com\/bax082016vkjxdcagihc000c"},"sign":"DR0WRKgP3Dn1Ndb9uZFMf0a1uZMMc/XBO6SRodkJhX++u1RblKcfUBvzDNbvUE4Ie5okvoZn4lIzOf2JEQNYqtdi7M4jXtYV2OHnxmnJEFUsrn6HPvj9xeiDEK0XLzb3LlsbYGVkhCMILshMNh61rq81knV7jU6ZD0rldkqW9jEOxyZH0nvz4L04nBCHk7yhOR0ulIpXGcppk76sjbn23h5YmAT5FR5K20nO6JfkuASTbl7LZdBSl9oOPzE3BO3+ZHVSuRNXDj3TeA/bNlvPPZnh7d3lj8bZeDd4J9akeODqKJtjplDLu9EjTSZfqQYFV8oP2l+M0eu9Wd3ZWlNrQA=="}^_^4564ms,1804ms,nullms

com.alipay.api.AlipayApiException: com.alipay.api.AlipayApiException: sign check fail: check Sign and Data Fail��JSON also��

at com.alipay.api.AbstractAlipayClient._execute(AbstractAlipayClient.java:412)

at com.alipay.api.AbstractAlipayClient.execute(AbstractAlipayClient.java:103)

at com.alipay.api.AbstractAlipayClient.execute(AbstractAlipayClient.java:90)

at com.alipay.api.AbstractAlipayClient.execute(AbstractAlipayClient.java:84)

at com.alipay.demo.trade.service.impl.AbsAlipayService.getResponse(AbsAlipayService.java:32)

at com.alipay.demo.trade.service.impl.AbsAlipayTradeService.tradePrecreate(AbsAlipayTradeService.java:102)

at com.alipay.demo.trade.service.impl.AlipayTradeServiceImpl.tradePrecreate(AlipayTradeServiceImpl.java:1)

at com.alipay.demo.trade.Main.test_trade_precreate(Main.java:426)

at com.alipay.demo.trade.Main.main(Main.java:101)

Caused by: com.alipay.api.AlipayApiException: sign check fail: check Sign and Data Fail��JSON also��

at com.alipay.api.AbstractAlipayClient.checkResponseSign(AbstractAlipayClient.java:512)

at com.alipay.api.AbstractAlipayClient._execute(AbstractAlipayClient.java:400)

... 8 more

十月 12, 2020 11:55:52 下午 com.alipay.demo.trade.Main test_trade_precreate

严重: 系统异常,预下单状态未知!!!


正在回答 回答被采纳积分+3

1回答

geelylucky 2020-10-14 20:51:21

同学,sign check fail就是签名检查失败,你要检查一下代码对数据的加密逻辑是否符合支付宝要求的逻辑。否则,支付宝会报错说咱们加密有问题。

登录后可查看完整回答登录/注册
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信