我正在努力实施Paypal Express Checkout。我已经设置了一个Paypal开发人员和沙盒帐户,其中包括一个Personal Sandbox测试帐户作为买家。我正在实现一个SOAP解决方案,到目前为止已经能够完成以下步骤
我尝试了几个沙箱帐户(已验证且未经过验证),结果始终相同。会导致这种情况的原因。
SetExpressCheckout请求的示例在
之下<soapenv:Envelope>
<soapenv:Header>
<urn:RequesterCredentials>
<urn1:Credentials>
<urn1:Username>sandbox_username</urn1:Username>
<urn1:Password>sandbox_passwword</urn1:Password>
<urn1:Signature>sandbox_signature</urn1:Signature>
</urn1:Credentials>
</urn:RequesterCredentials>
</soapenv:Header>
<soapenv:Body>
<urn:SetExpressCheckoutReq>
<urn:SetExpressCheckoutRequest
<urn1:DetailLevel>ReturnAll</urn1:DetailLevel>
<urn1:ErrorLanguage>en_US</urn1:ErrorLanguage>
<urn1:Version>119.0</urn1:Version>
<urn1:SetExpressCheckoutRequestDetails>
<urn1:OrderTotal currencyID="EUR">13.08</urn1:OrderTotal>
<urn1:ReturnURL>https://url/paypalreturnurl.htm</urn1:ReturnURL>
<urn1:CancelURL>https://url/paypalcancelurl.htm</urn1:CancelURL>
<urn1:OrderDescription>Invoice Num 31650</urn1:OrderDescription>
<urn1:InvoiceID>31650</urn1:InvoiceID>
<urn1:PaymentAction>Sale</urn1:PaymentAction>
</urn1:SetExpressCheckoutRequestDetails>
</urn:SetExpressCheckoutRequest>
</urn:SetExpressCheckoutReq>
</soapenv:Body>
</soapenv:Envelope>