请稍等 ...
×

采纳答案成功!

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

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

回答1 浏览102 2020-10-12 23:59:31

十月 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

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


添加回答

1回答

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

    2020-10-14 20:51:21

从0开始 独立完成企业级Java电商网站服务端开发(长期维护)

难度中级
时长20小时
人数8841
好评度99.4%

【毕设】前后端分离,数据库接口设计,架构设计,功能开发,上线运维

讲师

Geely JAVA开发工程师

Geely,丰富的互联网项目经验,公司内部技术讲师,热爱技术,乐于分享;教学格言:把复杂的技术简单化,简单的技术极致化

意见反馈 帮助中心 APP下载
官方微信