Skip to content

Instantly share code, notes, and snippets.

@mattclements
Created April 24, 2013 06:27
Show Gist options
  • Save mattclements/5450037 to your computer and use it in GitHub Desktop.
Save mattclements/5450037 to your computer and use it in GitHub Desktop.
PPAPIService: Request: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="urn:ebay:api:PayPalAPI" xmlns:ebl="urn:ebay:apis:eBLBaseComponents" xmlns:cc="urn:ebay:apis:CoreComponentTypes" xmlns:ed="urn:ebay:apis:EnhancedDataTypes" ><soapenv:Header><ns:RequesterCredentials><ebl:Credentials><ebl:Username>paypaltest_api1.mydomain.com</ebl:Username><ebl:Password>XXXXXXX</ebl:Password><ebl:Signature>XXXXXXX</ebl:Signature></ebl:Credentials></ns:RequesterCredentials></soapenv:Header><soapenv:Body><ns:DoDirectPaymentReq><ns:DoDirectPaymentRequest><ebl:DoDirectPaymentRequestDetails><ebl:PaymentDetails><ebl:OrderTotal currencyID="GBP">59.18</ebl:OrderTotal><ebl:ShipToAddress><ebl:Name>Fred Bloggs</ebl:Name><ebl:Street1>XXXX</ebl:Street1><ebl:Street2>XXXX</ebl:Street2><ebl:CityName>XXXX</ebl:CityName><ebl:StateOrProvince>XXXX</ebl:StateOrProvince><ebl:Country>United Kingdom</ebl:Country><ebl:PostalCode>XXX XXX</ebl:PostalCode></ebl:ShipToAddress></ebl:PaymentDetails><ebl:CreditCard><ebl:CreditCardType>Visa</ebl:CreditCardType><ebl:CreditCardNumber>XXXXXX</ebl:CreditCardNumber><ebl:ExpMonth>01</ebl:ExpMonth><ebl:ExpYear>2016</ebl:ExpYear><ebl:CardOwner><ebl:PayerName><ebl:FirstName>Fred</ebl:FirstName><ebl:LastName>Bloggs</ebl:LastName></ebl:PayerName><ebl:PayerCountry>United Kingdom</ebl:PayerCountry><ebl:Address><ebl:Name>Fred Bloggs</ebl:Name><ebl:Street1>XXXX</ebl:Street1><ebl:Street2>XXXX</ebl:Street2><ebl:CityName>XXXX</ebl:CityName><ebl:StateOrProvince>XXXXX</ebl:StateOrProvince><ebl:Country>United Kingdom</ebl:Country><ebl:PostalCode>XXX XXX</ebl:PostalCode></ebl:Address></ebl:CardOwner><ebl:CVV2>XXX</ebl:CVV2></ebl:CreditCard></ebl:DoDirectPaymentRequestDetails><ebl:Version>94.0</ebl:Version></ns:DoDirectPaymentRequest></ns:DoDirectPaymentReq></soapenv:Body></soapenv:Envelope>
PPHttpConnection: Adding header X-PAYPAL-REQUEST-DATA-FORMAT: SOAP
PPHttpConnection: Adding header X-PAYPAL-RESPONSE-DATA-FORMAT: SOAP
PPHttpConnection: Adding header X-PAYPAL-DEVICE-IPADDRESS: 192.168.1.96
PPHttpConnection: Adding header X-PAYPAL-REQUEST-SOURCE: sdkname-sdkversion
PPAPIService: Response:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment