paypal Adaptive Payments错误:550001 - 您无权限制资金来源

时间:2013-05-30 03:11:39

标签: paypal paypal-adaptive-payments

使用实时API凭据进行自适应付款时,我收到此错误。

阅读内容和文档,它必须使用帐户权限做一些事情,但公平地说我不知道​​哪一个。接收者,api持有者或应用程序

我创建了APP,获得了密钥,其状态为“自动批准”

我使用的请求是“基本并行付款”(从一个收件人到另一个收件人,或者更确切地说是从买方到卖方)

提供API密钥的帐户是经过商家验证的帐户,并且已创建该应用下的同一帐户。

设置为接收资金的帐户也是经过验证的商家帐户(已关联的银行支票帐户)

bellow是我发送的付款请求

<PayRequest xmlns="http://svcs.paypal.com/types/ap">
<requestEnvelope xmlns="">
<detailLevel>ReturnAll</detailLevel>
<errorLanguage>en_US</errorLanguage></requestEnvelope>
<actionType xmlns="">CREATE</actionType>
<cancelUrl xmlns="">[redacted]</cancelUrl>
<clientDetails xmlns=""><applicationId xmlns="">[redacted]</applicationId>
<customerId xmlns="">[redacted]</customerId>
<customerType xmlns="">buyer</customerType>
<ipAddress xmlns="">XXX.xxx.xxx.xxx</ipAddress>
<partnerName xmlns="">[redacted]</partnerName></clientDetails>
<currencyCode xmlns="">AUD</currencyCode>
<fundingConstraint xmlns="">
<allowedFundingType xmlns="">
<fundingTypeInfo xmlns="">
<fundingType xmlns="">ECHECK</fundingType></fundingTypeInfo>
<fundingTypeInfo xmlns="">
<fundingType xmlns="">BALANCE</fundingType></fundingTypeInfo>
<fundingTypeInfo xmlns=""><fundingType xmlns="">CREDITCARD</fundingType>
</fundingTypeInfo>
</allowedFundingType>
</fundingConstraint>
<ipnNotificationUrl xmlns="">[redacted]</ipnNotificationUrl>
<receiverList xmlns=""><receiver xmlns=""><amount xmlns="">2.00</amount>
<email xmlns="">recivers@pyapal.verifedaccount.com</email>
<paymentType xmlns="">GOODS</paymentType></receiver></receiverList>
<sender><useCredentials xmlns=""></useCredentials></sender>
<account xmlns=""><phone xmlns=""></phone></account>
<returnUrl xmlns="">[redacted]</PayRequest>

编辑:值得注意的可能是我正在测试实时付款的网址是一个暂存网址(不是生产)

1 个答案:

答案 0 :(得分:5)

固定。

fundingConstraint导致权限错误。

<fundingConstraint>
<fundingTypeInfo xmlns="">
   <fundingType xmlns="">ECHECK</fundingType>
</fundingTypeInfo>
<fundingTypeInfo xmlns="">
   <fundingType xmlns="">BALANCE</fundingType>
</fundingTypeInfo>
<fundingTypeInfo xmlns="">
   <fundingType xmlns="">CREDITCARD</fundingType>
</fundingTypeInfo>
</fundingConstraint>

来自doco,第11页(强调重点)

https://www.x.com/sites/default/files/2102_pp_adaptivepayments.pdf

  

fundingConstraint新字段:ap:FundingConstraint指定列表   允许的付款资金类型。该列表可以按任何顺序排列。   如果省略此字段,则可以通过任何资金来资助付款   自适应付款支持的类型。 注意:此功能是   适用于具有特殊权限级别的应用程序。

我的印象是默认情况下这是必需的(进行简单的付款),因此我使用它,但事实证明它工作正常,没有它(所以它是可选的)。有点奇怪,因为我认为它应该是其他方式(任何类型的特殊许可,对指定类型没有限制)

另外值得注意的是,当您创建应用程序时,不要被“确认您支持的资金来源”下的核准状态或复选框所欺骗。它们(ECHECK,CREDIT CARD,BALANCE)默认都是全部检查,但似乎无论您是否需要APP创建过程中指定的特殊权限,只需勾选复选框“更改默认付款来源将需要额外的审核时间和特定的PayPal批准。

换句话说,该应用并未受到本说明所暗示的“有条件批准”。

相关问题