paypal Adaptive Payments错误:550001-您无权限制资金来源 [英] paypal Adaptive Payments error: 550001 - You do not have permission to constrain funding sources

查看:92
本文介绍了paypal Adaptive Payments错误:550001-您无权限制资金来源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

将实时API凭据用于Adaptive Payment时出现此错误.

I am getting this error when using the live API credentials for Adaptive Payment.

在阅读Intrweb和文档时,它必须使用帐户权限来做一些事情,但是说实话,我不知道哪个.接收者,API持有者或应用程序

reading across intrwebs and documentation it has to do something with the account permissions, but to be fair i don't know which one. receivers, api holders, or apps

我已经创建了APP,获得了密钥,并且状态为自动批准"

I have created the APP, got the key and it has status of "Approved Automatically"

我正在使用的请求是基本并行付款"(从一个接收者到另一个接收者,或者从买方到卖方)

The request that I am using is "basic parallel payment" (from one recipient to another, or rather from buyer to seller)

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

The account that provides an API key is business verified account and it is same account under the app has been created.

设置为收款的帐户也是经过验证的公司帐户(关联的银行支票帐户)

The account that was set to receive money is also verified business account (linked bank cheque account)

bellow是我正在发送的付款请求

bellow is pay request that i am sending

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

修改:值得一提的是,我正在测试实时付款的网址是暂存网址(不是正式网址)

Edit: worth to note maybe is that url that I am testing the live payments its a staging url (not production)

推荐答案

已修复.

fundingConstraint导致权限错误.

The fundingConstraint was causing permission errors.

<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页(突出显示为重点)

from the doco, Page 11 (bolded out for emphasis)

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

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

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.

我的印象是,默认情况下这是必需的(以便进行简单付款),因此我一直在使用它,但事实证明它可以正常工作并且没有它(因此是可选的).应当是其他方式(对ANY类型具有特殊权限,对指定类型没有限制)

I was under impression that this was required by default (to make a simple payment) hence i was using it, but turns out it works fine and without it (so its kind of optional).A bit strange as I thought it should be other way around (special permission fro ANY type, no restriction for specified types)

还值得注意的是,创建应用程序时,请不要被确认您支持的资金来源"下的批准状态或复选框所迷惑.默认情况下,它们(ECHECK,CREDIT CARD,BALANCE)均已全部选中,但似乎无论您是否需要APP创建过程中指定的特殊权限,只需勾选以下复选框即可:"更改默认付款来源将需要额外的审核时间,特定的PayPal批准."

Also worth to note, when you create application don't be fooled by approval status ot check boxes under "Confirm funding sources you support". They (ECHECK, CREDIT CARD, BALANCE) were checked all by default, but it seems that regardless you would need a special permission as specified in APP creation process just bellow checkboxed items "Changing default payment sources will require additional Review time and specific PayPal Approval."

换句话说,该应用未处于此注释所建议的有条件批准"状态.

In other words, the app was not under 'conditional approval' which this note suggest.

这篇关于paypal Adaptive Payments错误:550001-您无权限制资金来源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆