Created
July 25, 2014 14:54
-
-
Save swapnilshrikhande/7e12d0924712c548879a to your computer and use it in GitHub Desktop.
Litle Mock request to sandbox
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mockRequest.xml | |
<litleOnlineRequest version="8.10" xmlns="http://www.litle.com/schema" merchantId="default"> | |
<authentication> | |
<user>JoesStore</user> | |
<password>JoeyIsTheBe$t</password> | |
</authentication> | |
<authorization id="ididid" reportGroup="rtpGrp" customerId="12345"> | |
<orderId>1</orderId> | |
<amount>1000</amount> | |
<orderSource>ecommerce</orderSource> | |
<billToAddress> | |
<name>Jane Doe</name> | |
<addressLine1>20 Main Street</addressLine1> | |
<city>San Jose</city> | |
<state>CA</state> | |
<zip>95032</zip> | |
<country>USA</country> | |
<email>jdoe@litle.com</email> | |
<phone>978-551-0040</phone> | |
</billToAddress> | |
<card> | |
<type>MC</type> | |
<number>5454545454545454</number> | |
<expDate>1112</expDate> | |
<cardValidationNum>123</cardValidationNum> | |
</card> | |
</authorization> | |
</litleOnlineRequest | |
curl --header "Content-Type: text/xml" --upload-file mockRequest.xml https://www.testlitle.com/sandbox/communicator/online |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment