我有一個簡單的應用程序發送付款。該應用在沙箱中工作正常。 Live經典應用程序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-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>[email protected]</email>
</receiver>
</receiverList>
<senderEmail>[email protected]</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>
FWIW已經開通PayPal支持周前的票..沒有答覆仍然。 –
你有沒有看到這個:http://stackoverflow.com/questions/18919670/you-do-not-have-permission-to-execute-this-payment-implicitly-550001 – JSuar
@JSuar是的 - 但在我的情況下,應用程序已被批准。歷史上唯一顯示「申請已被批准」。 –