sign check fail: check Sign and Data Fail!

为什么80%的码农都做不了架构师?>>>   hot3.png

支付宝报错:sign check fail: check Sign and Data Fail JSON also 支付宝签名文件错误

支付过程执行成功但对response返回结果进行签名出现错误。

错误原因:

把应用公钥设置成支付宝公钥。

 public static final String ALIPAY_PUBLIC_KEY = "应用公钥";

解决:

public static final String ALIPAY_PUBLIC_KEY = "支付宝公钥";

sign check fail: check Sign and Data Fail!_第1张图片

 

PS:

支付宝 

https://www.alipay.com

 

sdk 集成

https://doc.open.alipay.com/doc2/detail?treeId=54&articleId=103419&docType=1

 

支付宝扫码支付

https://doc.open.alipay.com/doc2/detail.htm?spm=0.0.0.0.B6xA20&treeId=26&articleId=103239&docType=1

 

转载于:https://my.oschina.net/shking/blog/902756

你可能感兴趣的:(sign check fail: check Sign and Data Fail!)