2013-05-30 26 views
3

使用适用于自适应付款的实时API凭据时出现此错误。paypal Adaptive Payments错误:550001 - 您没有权限限制资金来源

阅读内部网站和文档它必须做一些与帐户权限,但要公平我不知道哪一个。接收器,API持有人,或

我所创建的APP应用程序,拿到了钥匙,它具有的“自动批准”

请求,我现在用的就是“基本并行支付”(从一个收件人状态另一个,或者从买方到卖方)

提供API密钥的帐户是经过业务验证的帐户,并且该应用程序下的帐户已创建。

已设置收款账户也验证业务帐户(与银行支票账户)

波纹管是我发送

<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="">[email protected]</email> 
<paymentType xmlns="">GOODS</paymentType></receiver></receiverList> 
<sender><useCredentials xmlns=""></useCredentials></sender> 
<account xmlns=""><phone xmlns=""></phone></account> 
<returnUrl xmlns="">[redacted]</PayRequest> 

编辑付款请求:值得也许要注意是我正在测试的活动付款其网址(不生产)的网址

回答

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 New field: ap:FundingConstraint Specifies a list of allowed funding types for the payment. This list can be in any order. If this field is omitted, the payment can be funded by any funding type that is supported by Adaptive Payments. NOTE: This feature is available for applications with special permission level.

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

同样值得注意的是,当您创建应用程序时,请不要被“确认您支持的资金来源”下的复选框的审批状态所愚弄。他们(ECHECK,CREDIT CARD,BALANCE)全部默认被检查,但似乎无论您需要APP创建过程中指定的特殊权限,只需在复选框下方的项目“”更改默认付款来源将需要额外的审阅时间和特定PayPal “

换句话说,该应用程序并未受到本笔记所述的“条件许可”的约束。