通过node.js中的PayPal Adaptive Payments API发送隐式付款时出错

我正在尝试从我的业务Paypal帐户将钱汇入适应性付款API的另一个Paypal帐户。 我创build了一个经典的贝宝应用程序,请求发送隐式付款的权限,并被批准有条件。 我正在使用我的企业帐户的API UserId,密码和签名,当我提出付款请求时,我使用与我的企业帐户关联的电子邮件地址。 这可能是值得一提的,这是一个瑞士贝宝帐户。

不过,我收到一个错误:

[Error: Response ack is Failure. Check the response for more info] { responseEnvelope: { timestamp: '2013-12-13T05:21:53.825-08:00', ack: 'Failure', correlationId: '6b31a6a7cbf80', build: '7935900' }, error: [ { errorId: '550001', domain: 'PLATFORM', subdomain: 'Application', severity: 'Error', category: 'Application', message: 'You do not have permission to execute this payment implicitly' } ], httpStatusCode: 200 } 

这是我的代码:

 Paypal = require 'paypal-adaptive' paypalSdk = new Paypal userId : 'my userId' password : 'my password' signature : 'my signature' appId : 'my appId' payload = senderEmail : 'my email' requestEnvelope: errorLanguage: 'en_US' actionType : 'PAY' currencyCode : 'CHF' feesPayer : 'EACHRECEIVER' memo : 'example' returnUrl: "http://www.serviceathome.com?success=true" cancelUrl: "http://www.serviceathome.com?success=false" receiverList: receiver : [ email: 'recipient email' amount: '1.00' ] paypalSdk.pay payload, (err, res) -> if err? console.error err return console.error res console.log res 

Ita:今天我有同样的错误。 我正在使用贝宝自适应付款网站的示例代码完全如图所示。 我直接从示例代码中直接input了PayPal cURL片段。 我得到了和你一样的命令。 我重新安装了cURL,并确保安装SSL证书。 之后就马上工作了。