简体   繁体   English

安全标头在PayPal批量付款中无效

[英]Security header is not valid in PayPal Mass Payments

I am using mateodelnorte/node-paypal-masspayments in meteor. 我在流星中使用mateodelnorte / node-paypal-masspayments。 I a mfollowing the guide in their github page. 我在他们的github页面中的指南。 I am using the sandbox account automatically created in developers.paypal.com. 我正在使用在developers.paypal.com中自动创建的沙箱帐户。

I set also the environment using 我也使用了环境

process.env.PAYPAL_ENV = 'sandbox'

But I keep receive an error of 100002, Security header is not valid. 但我一直收到100002的错误,安全标头无效。

How can I fix this? 我怎样才能解决这个问题? This part is to create a mass payments to emailaddresses listed. 这部分是为列出的电子邮件创建大量付款。

In general, the security header error will occur when there is an issue with the API credentials. 通常,当API凭据出现问题时,将发生安全标头错误。 Please double check the API username, password, signature, API endpoint. 请仔细检查API用户名,密码,签名,API端点。

You will need to use sandbox API credentials (API username, password, signature ) against sandbox API endpoint. 您需要对沙箱API端点使用沙箱API凭据(API用户名,密码,签名)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM