贝宝支付自适应错误,您没有权限隐含执行此款项 [英] PayPal Adaptive payments error You do not have permission to execute this payment implicitly
问题描述
我有一个简单的应用程序发送的付款。这个应用程序沙箱中的正常工作。现场的经典应用程序ID已经被批准(显示为自动批准),但是当我进入我的真实凭据,则返回错误您没有权限隐含执行此支付
XML发送到终点 https://svcs.paypal.com/AdaptivePayments/Pay
:
我用我的生活API密钥在发送和实时帐户凭据:
- 的applicationID =我住的应用程序ID(已核准)
- X-PAYPAL-SECURITY-USERID =我住API的用户ID(blah_api1.mysite.com)
- X-PAYPAL-SECURITY-PASSWORD =我的生活API密码
- X-PAYPAL-SECURITY-SIGNATURE =我的生活API签名
- X-PAYPAL-SERVICE-VERSION = 1.1.0
- X-PAYPAL-APPLICATION-ID =实时应用程序ID(如APP-5F976659LV9322736)
- X-PAYPAL-REQUEST数据格式= XML
- X-PAYPAL-RESPONSE数据格式= XML
发送有效载荷:
<?XML版本=1.0编码=UTF-8&GT?;
< PayRequest的xmlns:NS2 =http://svcs.paypal.com/types/ap>
< requestEnvelope>
< errorLanguage>&EN_US LT; / errorLanguage>
< detailLevel> ReturnAll< / detailLevel>
< / requestEnvelope>
< clientDetails>
<&的applicationID GT; APP-5F976659LV9322736< /&的applicationID GT;
< partnerName>&MYNAME LT; / partnerName>
< / clientDetails>
<&操作类型GT;要< /操作类型>
&LT; cancelUrl&GT;的https://mysite.com< / cancelUrl&GT;
&LT;&RETURNURL GT;的https://mysite.com< / RETURNURL&GT;
&LT;货币code取代;美元&LT; /货币code&GT;
&LT; feesPayer&GT; EACHRECEIVER&LT; / feesPayer&GT;
&LT;备忘录&GT;等等等等&LT; /备忘录&GT;
&LT; receiverList&GT;
&lt;接收与GT;
&LT;量GT; 6.66&LT; /量GT;
&LT;电子邮件和GT; personimpaying@gmail.com< /电子邮件&GT;
&LT; /接收器&GT;
&LT; / receiverList&GT;
&LT;&SENDEREMAIL GT; me@gmail.com< / SENDEREMAIL&GT;
&LT; trackingId&GT; f166b253-063e-4e24-9fd0-519ccddfffeb&LT; / trackingId&GT;
&LT; / PayRequest&GT;
回复:
&LT; XML版本='1.0'编码='UTF-8'&GT?;
&LT; NS3:FaultMessage的xmlns:NS3 =http://svcs.paypal.com/types/common的xmlns:NS2 =http://svcs.paypal.com/types/ap&GT;
&LT; responseEnvelope&GT;
&所述;时间戳&GT; 2014-01-13T20:49:46.191-08:00所述; /时间戳&GT;
&LT;&ACK GT;故障&LT; / ACK&GT;
&LT;&的correlationID GT; 5924cfcacbf00&LT; /&的correlationID GT;
&LT;建立&GT; 7935900&LT; /构建&GT;
&LT; / responseEnvelope&GT;
&LT;错误&GT;&LT;&ErrorID中GT; 550001&LT; / ErrorID中&GT;
&LT结构域GT;平台和LT; /域&GT;
&LT;&子GT;用途&LT; /子&GT;
&LT;&轻重GT;错误&LT; /严重性&GT;
&LT;分类和GT;用途&LT; /类别&GT;
&LT;消息&gt;您没有权限隐含&LT执行此款项; /消息&GT;
&LT; /错误&GT;
&LT; / NS3:FaultMessage&GT;
我我的两个注册的电子邮件试图在SENDEREMAIL字段 - 都有同样的问题。
我见过几个人来面对这个问题,但没有解决。任何人有什么建议吗?
编辑 - 我也试了明确的支付,但是当我尝试ExecutePayment的付款我收到以下错误:
&LT; XML版本='1.0'编码='UTF-8'&GT?;
&LT; NS3:FaultMessage的xmlns:NS3 =http://svcs.paypal.com/types/common的xmlns:NS2 =http://svcs.paypal.com/types/ap&GT;&LT; responseEnvelope&GT;
&LT;&时间戳GT; 2014-02-02T19:34:44.256-08:00&LT; /时间戳&GT;
&LT;&ACK GT;故障&LT; / ACK&GT;
&LT;&的correlationID GT; ABCDEFG&LT; /&的correlationID GT;
&LT;建立&GT; 7935900&LT; /构建&GT;
&LT; / responseEnvelope&GT;&LT;错误&GT;
&LT;&ErrorID中GT; 550001&LT; / ErrorID中&GT;
&LT结构域GT;平台和LT; /域&GT;
&LT;&子GT;用途&LT; /子&GT;
&LT;&轻重GT;错误&LT; /严重性&GT;
&LT;分类和GT;用途&LT; /类别&GT;
&LT;&消息gt;用户不允许执行此动作&LT; /消息&GT;
&LT; /错误&GT;&LT; / NS3:FaultMessage&GT;
OK,我想我找到了答案。在API应用程序,我对打勾汇款的复选框,但是,我错过了隐付款的另一种选择。我会用打勾的新选项再试一次。
I have a simple app that sends payments. The app works fine in sandbox. Live classic app app ID is already approved (shows as "Approved Automatically"), but when I enter my live credentials it returns the error "You do not have permission to execute this payment implicitly"
Sending XML to endpoint https://svcs.paypal.com/AdaptivePayments/Pay
:
I'm sending it using my live API key, and live account credentials:
- applicationId = my live app ID (already approved)
- X-PAYPAL-SECURITY-USERID = my live API user ID (blah_api1.mysite.com)
- X-PAYPAL-SECURITY-PASSWORD = my live API password
- X-PAYPAL-SECURITY-SIGNATURE = my live API sig
- X-PAYPAL-SERVICE-VERSION = 1.1.0
- X-PAYPAL-APPLICATION-ID = live app id (e.g. APP-5F976659LV9322736)
- X-PAYPAL-REQUEST-DATA-FORMAT = XML
- X-PAYPAL-RESPONSE-DATA-FORMAT = XML
Sending payload:
<?xml version="1.0" encoding="UTF-8"?>
<PayRequest xmlns:ns2="http://svcs.paypal.com/types/ap">
<requestEnvelope>
<errorLanguage>en_US</errorLanguage>
<detailLevel>ReturnAll</detailLevel>
</requestEnvelope>
<clientDetails>
<applicationId>APP-5F976659LV9322736</applicationId>
<partnerName>MyName</partnerName>
</clientDetails>
<actionType>PAY</actionType>
<cancelUrl>https://mysite.com</cancelUrl>
<returnUrl>https://mysite.com</returnUrl>
<currencyCode>USD</currencyCode>
<feesPayer>EACHRECEIVER</feesPayer>
<memo>blah blah</memo>
<receiverList>
<receiver>
<amount>6.66</amount>
<email>personimpaying@gmail.com</email>
</receiver>
</receiverList>
<senderEmail>me@gmail.com</senderEmail>
<trackingId>f166b253-063e-4e24-9fd0-519ccddfffeb</trackingId>
</PayRequest>
Reply:
<?xml version='1.0' encoding='UTF-8'?>
<ns3:FaultMessage xmlns:ns3="http://svcs.paypal.com/types/common" xmlns:ns2="http://svcs.paypal.com/types/ap">
<responseEnvelope>
<timestamp>2014-01-13T20:49:46.191-08:00</timestamp>
<ack>Failure</ack>
<correlationId>5924cfcacbf00</correlationId>
<build>7935900</build>
</responseEnvelope>
<error><errorId>550001</errorId>
<domain>PLATFORM</domain>
<subdomain>Application</subdomain>
<severity>Error</severity>
<category>Application</category>
<message>You do not have permission to execute this payment implicitly</message>
</error>
</ns3:FaultMessage>
I tried both my registered emails in the "senderEmail" field - both have same problem.
I've seen a few people coming up against this issue, but no resolution. Anyone have any suggestions?
EDIT - I've also tried explicit payments, however when I try to ExecutePayment on the payment I get the following error:
<?xml version='1.0' encoding='UTF-8'?>
<ns3:FaultMessage xmlns:ns3="http://svcs.paypal.com/types/common" xmlns:ns2="http://svcs.paypal.com/types/ap">
<responseEnvelope>
<timestamp>2014-02-02T19:34:44.256-08:00</timestamp>
<ack>Failure</ack>
<correlationId>abcdefg</correlationId>
<build>7935900</build>
</responseEnvelope>
<error>
<errorId>550001</errorId>
<domain>PLATFORM</domain>
<subdomain>Application</subdomain>
<severity>Error</severity>
<category>Application</category>
<message>User is not allowed to perform this action</message>
</error>
</ns3:FaultMessage>
OK I think I found the answer. In the API application, I ticked the checkbox for "Send Money", but there is another option that I missed "Implicit Payments". I'm going to try again with the new option ticked.
这篇关于贝宝支付自适应错误,您没有权限隐含执行此款项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!