我将以下消息发布到https://svcs.sandbox.paypal.com/AdaptivePayments/Pay:
<?xml version="1.0" encoding="utf-16"?>
<PayRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<requestEnvelope>
<detailLevel>ReturnAll</detailLevel>
<errorLanguage>en_US</errorLanguage>
</requestEnvelope>
<clientDetails>
<ipAddress>127.0.0.1</ipAddress>
<deviceId>platformSDKDotNetSample</deviceId>
<applicationId>APP-80W284485P519543T</applicationId>
<customerType>Developer</customerType>
<partnerName>GreenDot</partnerName>
<customerId>GreenDot</customerId>
</clientDetails>
<actionType>PAY</actionType>
<cancelUrl></cancelUrl>
<currencyCode>USD</currencyCode>
<memo>MP ref 8050042402450937112</memo>
<receiverList>
<receiver>
<amount>5</amount>
<email>koseas@greendotcorp.com</email>
<primary>false</primary>
<invoiceId>123456</invoiceId>
<paymentType>PERSONAL</paymentType>
</receiver>
</receiverList>
<senderEmail>PersonalTestAccount@greendotcorp.com</senderEmail>
<returnUrl></returnUrl>
<trackingId>111111</trackingId>
<fundingConstraint>
<allowedFundingType>
<fundingTypeInfo>
<fundingType>RECEIVABLE</fundingType>
</fundingTypeInfo>
</allowedFundingType>
</fundingConstraint>
</PayRequest>
并得到这个回应:
<ns3:FaultMessage xmlns:ns3="http://svcs.paypal.com/types/common"
xmlns:ns2="http://svcs.paypal.com/types/ap">
<responseEnvelope>
<timestamp>2013-04-02T14:25:32.304-07:00</timestamp>
<ack>Failure</ack>
<correlationId>54974e7a32854</correlationId>
<build>5563463</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>
<parameter>Sender is not allowed to perform this action</parameter>
</error>
</ns3:FaultMessage>
发件人电子邮件是我设置的个人帐户。它已经过验证,余额为 5000 美元。卡状态为“已激活”。为什么我收到“不允许用户执行此操作”?