paypal自适应支付错误: 550001 - You do not have permission to constrain funding sources

标签 paypal paypal-adaptive-payments

我在使用自适应支付的实时 API 凭据时遇到此错误。

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

我已经创建了应用程序,得到了 key ,它的状态是“自动批准”

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

提供API key的账号为企业认证账号,与app下创建的账号相同。

设置为收款的账户也是经过验证的企业账户(关联银行支票账户)

下面是我发送的付款请求

<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>

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

最佳答案

固定。

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.

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

同样值得注意的是,当您创建申请时,不要被“确认您支持的资金来源”下的批准状态或复选框所迷惑。默认情况下,它们(电子支票、信用卡、余额)都被选中,但似乎无论您是否需要在应用程序创建过程中指定的特殊权限,只需在复选框下方选中“更改默认支付来源将需要额外的审查时间和特定的 PayPal 批准。

换句话说,该应用并未获得本说明所建议的“有条件批准”。

关于paypal自适应支付错误: 550001 - You do not have permission to constrain funding sources,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16827341/

相关文章:

api - 如何检查电子邮件地址是否与 Paypal 帐户相关联?

paypal-adaptive-payments - 我应该使用哪个 API?

paypal - 确认送货地址

paypal - 从 paypal 发送付款时需要主要用户批准

node.js - Paypal 批量付款在 Node js api 中不起作用

api - paypal rest api 测试信用卡号码

authentication - 将客户的钱直接转给第三方(Paypal Payments Pro)

ruby-on-rails-4 - NO_API_ACCESS_TO_RECEIVER 在沙盒账户 paypal 中

php - Paypal 返回 API 凭据不正确

ruby-on-rails - 使用 Rails 进行 Paypal 自适应(链式)支付