【问题标题】:paypal Adaptive Payments error: 550001 - You do not have permission to constrain funding sourcespaypal Adaptive Payments 错误:550001 - 您无权限制资金来源
【发布时间】:2013-05-25 12:10:47
【问题描述】:

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

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

我已经创建了APP,拿到了key,它的状态是“自动批准”

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

提供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="">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>

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

【问题讨论】:

    标签: paypal paypal-adaptive-payments


    【解决方案1】:

    已修复。

    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 指定一个列表 允许的付款资金类型。此列表可以按任何顺序排列。 如果省略此字段,则可以通过任何资金资助付款 Adaptive Payments 支持的类型注意:此功能是 可用于具有特殊权限级别的应用程序。

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

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

    换句话说,该应用程序并未处于本说明建议的“有条件批准”之下。

    【讨论】:

      猜你喜欢
      • 2013-06-26
      • 2013-03-22
      • 2016-08-22
      • 2012-06-28
      • 2013-09-28
      • 2013-09-14
      • 2019-12-13
      • 2012-12-03
      • 2014-01-18
      相关资源
      最近更新 更多