Connect with PayPal stopped working and gives error: Version+information+is+unavailable+for+key+aac_jws_keypair after no changes made

Connect with PayPal stopped working and gives error: Version+information+is+unavailable+for+key+aac_jws_keypair after no changes made

我正在使用以下 React 组件连接 PayPal (AAC)。

 <AACComponent
   clientId="<client_id>"
   merchantId="<Merchant Account ID>"
   env="<sandbox/production>"
   pageType="<signup/login>"
   onLogin={onLogin} 
 />

我已经使用它几个月了,它 returns 用户身份验证令牌,然后用于获取他们的贝宝 ID。昨天它开始出现以下错误:

Version+information+is+unavailable+for+key+aac_jws_keypair

流程如下:

  1. 用户在我的网站上选择“继续使用 PayPal”
  2. 他们被重定向到使用 PayPal 正式登录
  3. 他们登录成功
  4. PayPal 重定向到我的应用程序并出现错误:{err: Version+information+is+unavailable+for+key+aac_jws_keypair}

没有错误码,只有那一行

应该发生什么: 它应该使用身份验证令牌重定向,并且已经这样做了几个月。它几天前停止工作。我没有更新或更改任何内容。

这就是错误提示的全部内容,我无法联系 PayPal 的任何人来解决此问题。由于这个原因,我的应用程序现在基本上坏了。还有其他人处理过这个错误吗?

附加信息:我使用 this PayPal documentation

为 React 实现了 AAC

其中一个 Paypal 系统的证书已过期。它现在应该可以工作了。他们已经更新了证书,如果您要根据已知证书进行验证,则可能需要获取新证书并将其导入。以下来自 Paypal 客户支持:

The PayPal Product Developers have pushed a fix for this issue. If you are still experiencing it, you may have a certificate that needs to be re-imported. There was a certificate that expired on April 29 2021.

I will be getting the certificate details from the PayPal Product Developers, if you need it.

I apologize for the inconvenience this issue has caused. Thank you for using PayPal and have a wonderful day!

Sincerely,

Jennifer Global Technical Support PayPal, Inc.