这是使用在沙盒环境中失败的地址验证调用的 Paypal 连接器的示例。
我们得到错误"You do not have permissions to make this API call"
。我们正在使用 paypal Mulesoft 连接器来验证地址并付款。你能看一下,让我们知道如何使它工作吗?
Paypal 企业帐户电子邮件地址:nileshk.jain-facilitator@gmail.com。我们在尝试调用其他功能(如授权、直接付款、退款等)时遇到同样的错误。
SOAP 请求:
<soap:Envelope [link removed]><soap:Header><ns2:RequesterCredentials xmlns:ns3="urn:ebay:apis:EnhancedDataTypes" xmlns:ns2="urn:ebay:api:PayPalAPI" xmlns="urn:ebay:apis:eBLBaseComponents"><Credentials><Username>[link removed]</Username><Password>1369269276</Password><Signature>AFcWxV21C7fd0v3bYYYRCpSSRl31AjYiSzqYGmMwbexuKiaJ.l.4vel4</Signature></Credentials></ns2:RequesterCredentials></soap:Header><soap:Body><ns2:AddressVerifyReq xmlns="urn:ebay:apis:eBLBaseComponents" xmlns:ns2="urn:ebay:api:PayPalAPI" xmlns:ns3="urn:ebay:apis:EnhancedDataTypes"><ns2:AddressVerifyRequest><Version>98.0</Version><ns2:Email>[link removed]</ns2:Email><ns2:Street>test</ns2:Street><ns2:Zip>test</ns2:Zip></ns2:AddressVerifyRequest></ns2:AddressVerifyReq></soap:Body></soap:Envelope>
肥皂响应:
<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope [link removed] [link removed] [link removed] [link removed] [link removed] xmlns:cc="urn:ebay:apis:CoreComponentTypes" [link removed] xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion" [link removed] [link removed] xmlns:ed="urn:ebay:apis:EnhancedDataTypes" xmlns:ebl="urn:ebay:apis:eBLBaseComponents" xmlns:ns="urn:ebay:api:PayPalAPI"><SOAP-ENV:Header><Security [link removed] xsi:type="wsse:SecurityType"></Security><RequesterCredentials xmlns="urn:ebay:api:PayPalAPI" xsi:type="ebl:CustomSecurityHeaderType"><Credentials xmlns="urn:ebay:apis:eBLBaseComponents" xsi:type="ebl:UserIdPasswordType"><Username xsi:type="xs:string"></Username><Password xsi:type="xs:string"></Password><Signature xsi:type="xs:string"></Signature><Subject xsi:type="xs:string"></Subject></Credentials></RequesterCredentials></SOAP-ENV:Header><SOAP-ENV:Body id="_0"><AddressVerifyResponse xmlns="urn:ebay:api:PayPalAPI"><Timestamp xmlns="urn:ebay:apis:eBLBaseComponents">2013-05-23T21:31:13Z</Timestamp><Ack xmlns="urn:ebay:apis:eBLBaseComponents">Failure</Ack><CorrelationID xmlns="urn:ebay:apis:eBLBaseComponents">db6273f7185de</CorrelationID><Errors xmlns="urn:ebay:apis:eBLBaseComponents" xsi:type="ebl:ErrorType"><ShortMessage xsi:type="xs:string">Authentication/Authorization Failed</ShortMessage><LongMessage xsi:type="xs:string">You do not have permissions to make this API call</LongMessage><ErrorCode xsi:type="xs:token">10002</ErrorCode><SeverityCode xmlns="urn:ebay:apis:eBLBaseComponents">Error</SeverityCode></Errors><Version xmlns="urn:ebay:apis:eBLBaseComponents">98.0</Version><Build xmlns="urn:ebay:apis:eBLBaseComponents">5908853</Build><ConfirmationCode xsi:type="ebl:AddressStatusCodeType">None</ConfirmationCode><StreetMatch xsi:type="ebl:MatchStatusCodeType">None</StreetMatch><ZipMatch xsi:type="ebl:MatchStatusCodeType">None</ZipMatch></AddressVerifyResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>