# 支付宝支付异步通知验签失败的原因

**URL:** <https://www.shiqidu.com/t/topic/387>\
**Category:** 开发调优\
**Tags:** PHP\
**Created:** [2018 年4 月 3 日 02:12 UTC](https://www.shiqidu.com/t/topic/387 "2018-04-03T02:12:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

作者： ![Leon](https://www.shiqidu.com/user_avatar/www.shiqidu.com/leon/32/5_2.png) [@Leon](https://www.shiqidu.com/u/Leon)\
发布日期： [2018 年4 月 3 日 02:12 UTC](https://www.shiqidu.com/t/topic/387/1 "2018-04-03T02:12:24Z")

</div>

今天在做支付宝支付的异步通知回调时验签一直失败，最后发现，验签的时候使用的是 **支付宝的公钥** ！！！而不是商户的公钥。

记录一下，防止日后再次踩坑。
