Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PayPal Adaptive payments error You do not have permission to execute this payment implicitly

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>[email protected]</email>
  </receiver>
</receiverList>
<senderEmail>[email protected]</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>
like image 663
steve cook Avatar asked Oct 02 '22 21:10

steve cook


1 Answers

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.

like image 181
steve cook Avatar answered Oct 05 '22 11:10

steve cook