首页 文章

PayPal自适应付款错误您无权隐式执行此付款

提问于
浏览
5

我有一个发送付款的简单应用程序 . 该应用程序在沙盒中工作正常 . 实时经典应用程序ID已被批准(显示为“自动批准”),但是当我输入我的实时凭据时,它会返回错误“您无权隐式执行此付款”

将XML发送到 endpoints 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 sig

  • 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”字段中尝试了两个已注册的电子邮件 - 两者都有同样的问题 .

我见过一些人反对这个问题,但没有决议 . 有人有什么建议吗?

编辑 - 我也尝试过明确付款,但是当我尝试在付款时使用ExecutePayment时,我收到以下错误:

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

2 回答

  • 4

    好的,我想我找到了答案 . 在API应用程序中,我勾选了“发送货币”的复选框,但还有另一个选项,我错过了“隐含付款” . 我将再次尝试使用新选项 .

  • 0

    我有同样的问题,但对我来说问题是我在应用程序中使用的帐户与应用程序的所有者相同 . 应用程序中没有错误,它按照我的意愿工作,但不是我的凭据 .

    我通过创建一个新的PayPal帐户来修复我的问题,以便使用我的应用程序 .

相关问题