|
strXML - XML String, representing an Order record. The Order record's Billing and Credit Card information
will be used to process the Total amount present in the Basket or Receipt (in that order). Once processing has
completed, the gateway result will be appended to the Order record's Basket or Receipt. To view the validating XSD
Schema, please click here. An example is provided
here or below:
<Order Order_ID="4F847FE86F64482bBCC9E4B5B7CED61C">
<Shopper_ID>john.doe@somesite.com</Shopper_ID>
<Billing>
<First_Name>John</First_Name>
<Middle_Name>P.</Middle_Name>
<Last_Name>Doe</Last_Name>
<Address_1>123 Somewhere St.</Address_1>
<Address_2></Address_2>
<City>Los Angeles</City>
<Postal_Code>90210</Postal_Code>
<Phone>888.555.1212</Phone>
</Billing>
<Credit_Card>
<Type>1</Type>
<Number>4111111111111111</Number>
<Expiration_Month>10</Expiration_Month>
<Expiration_Year>2006</Expiration_Year>
<Verification_Number>487</Verification_Number>
</Credit_Card>
<Receipt>
<Contents>Receipt contents would go here, please see our
Implementation Guides for more details</Contents>
<Total>42.95</Total>
</Receipt>
</Order>
eEnvironment - enum, representing the environment of the transaction. The values are:
- LIVE
- GOOD (test for transaction to succeed)
- DECLINE (test for transaction to be declined)
- DUPLICATE (test for duplicate transaction)
|