Skip to Content
0
Former Member
Apr 12, 2010 at 08:27 AM

PayPal integration using SOAP messages

183 Views

Hello,

for a integration scenario we want to call a PayPal SOAP API as described in https://www.x.com/docs/DOC-1244 ">https://www.x.com/docs/DOC-1244>.

The PayPal safety requirements are fullfilled by giving a Username, Password and Signature in the SOAP Header:

<SOAP-ENV:Header>      
  <RequesterCredentials xmlns=u201Durn:ebay:api:PayPalAPIu201D xsi:type=u201Debl:CustomSecurityHeaderTypeu201D>           
   <Credentials xmlns=u201Durn:ebay:apis:eBLBaseComponentsu201D xsi:type=u201Debl:UserIdPasswordTypeu201D>                        
    <Username>api_username</Username>                
    <Password>api_password</Password>               
    <Signature>api_signature</Signature>                
    <Subject>authorizing_account_emailaddress</Subject>          
   </Credentials>     
  </RequesterCredentials> 
</SOAP-ENV:Header>

I have given the three values as Adapter-Specific Message Attributes filled by UDF in Message Mapping.

The filled values are also visible in monitoring in section DynamicConfiguration.

SOAP Adapter: http://s3.directupload.net/file/d/2127/r8y4aywt_jpg.htm

Monitoring: http://s5.directupload.net/file/d/2127/cqvfds35_jpg.htm

But PayPal responded:

Authentication/Authorization Failed

You do not have permissions to make this API call

My credentials are ok. I have tested it within the PayPal NVP API Tester: http://www.shopsandbox.de/PayPal/Refund/ .

How do I have to manipulate the SOAP header for a successful SOAP API call?

Is it necessary also to insert the nodes ?

If yes, how?

Thanks in advance,

André