# paypal突然报错，PayPal gateway has rejected request. Security header is not valid (#10002: Security error).

**URL:** https://forum.magentochina.org/t/paypal%E7%AA%81%E7%84%B6%E6%8A%A5%E9%94%99%EF%BC%8Cpaypal-gateway-has-rejected-request-security-header-is-not-valid-10002-security-error/947
**Category:** Uncategorized
**Created:** [2021 年8 月 6 日 06:17 UTC](https://forum.magentochina.org/t/paypal%E7%AA%81%E7%84%B6%E6%8A%A5%E9%94%99%EF%BC%8Cpaypal-gateway-has-rejected-request-security-header-is-not-valid-10002-security-error/947 "2021-08-06T06:17:32Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### 作者： ![minmin](https://forum.magentochina.org/letter_avatar_proxy/v4/letter/m/6de8d8/32.png) [@minmin](https://forum.magentochina.org/u/minmin)
#### 发布日期： [2021 年8 月 6 日 06:17 UTC](https://forum.magentochina.org/t/paypal%E7%AA%81%E7%84%B6%E6%8A%A5%E9%94%99%EF%BC%8Cpaypal-gateway-has-rejected-request-security-header-is-not-valid-10002-security-error/947/1 "2021-08-06T06:17:32Z")

</div>

请问magento，paypal一直好好的没动过，突然就不能支付了，PayPal gateway has rejected request. Security header is not valid (#10002: Security error).

ps:网站的https证书修改过，paypal没改过，请问有知道这是什么原因吗

---

<div class="post-metadata">

### 作者： ![Shuai](https://forum.magentochina.org/user_avatar/forum.magentochina.org/shuai/32/3_2.png) [@Shuai](https://forum.magentochina.org/u/Shuai)
#### 发布日期： [2021 年8 月 7 日 16:58 UTC](https://forum.magentochina.org/t/paypal%E7%AA%81%E7%84%B6%E6%8A%A5%E9%94%99%EF%BC%8Cpaypal-gateway-has-rejected-request-security-header-is-not-valid-10002-security-error/947/2 "2021-08-07T16:58:18Z")

</div>

好像是账号密码错误。看下服务器日志

from:

> **[How to quickly fix PayPal 10002 security error?](https://bobcares.com/blog/10002-security-error/)**
>
> PayPal 10002 security error usually occurs due to wrong API credentials (security headers) or improper endpoints set up in payment.
