贝宝自适应付款错误您无权隐式执行此付款 [英] PayPal Adaptive payments error You do not have permission to execute this payment implicitly
问题描述
我有一个发送付款的简单应用.该应用程序在沙箱中运行良好.实时经典应用应用 ID 已被批准(显示为自动批准"),但是当我输入我的实时凭据时,它返回错误您无权隐式执行此付款"
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"
将 XML 发送到端点 https://svcs.paypal.com/AdaptivePayments/Pay
:
Sending XML to endpoint https://svcs.paypal.com/AdaptivePayments/Pay
:
我使用实时 API 密钥和实时帐户凭据发送:
I'm sending it using my live API key, and live account credentials:
- 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-DATA-FORMAT = XML
- X-PAYPAL-RESPONSE-DATA-FORMAT = XML
发送有效载荷:
<?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>
回复:
<?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>
我在senderEmail"字段中尝试了我注册的两个电子邮件 - 两者都有相同的问题.
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?
编辑 - 我也尝试过显式付款,但是当我尝试对付款执行 ExecutePayment 时,我收到以下错误:
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>
推荐答案
好的,我想我找到了答案.在 API 应用程序中,我勾选了汇款"复选框,但我错过了另一个选项隐式付款".我要在新选项打勾的情况下再试一次.
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屋!