Skip to content

Commit 43d47fb

Browse files
authored
Merge pull request #77 from CyberSource/add-sample-xml
adding sample.xml
2 parents cfb32b9 + d976ef5 commit 43d47fb

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<requestMessage xmlns="urn:schemas-cybersource-com:transaction-data-1.170">
3+
<!--we'll let the client add the merchantID-->
4+
<merchantReferenceCode>your_merchant_reference_code</merchantReferenceCode>
5+
<billTo>
6+
<firstName>John</firstName>
7+
<lastName>Doe</lastName>
8+
<street1>1295 Charleston Road</street1>
9+
<city>Mountain View</city>
10+
<state>CA</state>
11+
<postalCode>94043</postalCode>
12+
<country>US</country>
13+
<email>[email protected]</email>
14+
<ipAddress>10.7.111.111</ipAddress>
15+
</billTo>
16+
<item id="0">
17+
<unitPrice>12.34</unitPrice>
18+
</item>
19+
<item id="1">
20+
<unitPrice>56.78</unitPrice>
21+
</item>
22+
<purchaseTotals>
23+
<currency>USD</currency>
24+
</purchaseTotals>
25+
<card>
26+
<accountNumber>4111111111111111</accountNumber>
27+
<expirationMonth>12</expirationMonth>
28+
<expirationYear>2030</expirationYear>
29+
</card>
30+
<ccAuthService run="true">
31+
</ccAuthService>
32+
<ccCaptureService run="true">
33+
</ccCaptureService>
34+
</requestMessage>

0 commit comments

Comments
 (0)