FILTER BY TAG

Example: Processing a Sale

Sale Service Request
<requestMessage xmlns="urn:schemas-cybersource-com:transaction-data-1.126"> <merchantID>mid43210</merchantID> <merchantReferenceCode>refnum1234</merchantReferenceCode> <invoiceHeader> <merchantDescriptor>Online Store</merchantDescriptor> </invoiceHeader> <purchaseTotals> <currency>EUR</currency> <grandTotalAmount>20.00</grandTotalAmount> </purchaseTotals> <apPaymentType>IDL</apPaymentType> <apSaleService run="true"> <cancelURL>https://www.redirect.url.html?action=cancel</cancelURL> <successURL>https://www.redirect.url.html?action=success</successURL> <failureURL>https://www.redirect.url.html?action=failure</failureURL> </apSaleService> </requestMessage>
Response to a Successful Sale Service Request
<replyMessage xmlns:c="urn:schemas-cybersource-com:transaction-data-1.126"> <merchantReferenceCode>refnum1234</merchantReferenceCode> <requestID>4703329437356002101200</requestID> <decision>ACCEPT</decision> <reasonCode>100</reasonCode> <purchaseTotals> <currency>EUR</currency> </purchaseTotals> <apSaleReply> <reasonCode>100</reasonCode> <paymentStatus>pending</paymentStatus> <responseCode>00001</responseCode> <merchantURL>https://merchant.redirect.com/url.do?param utf=%27%22%3C%3E
 %20%E6%B8%AC%E8%A9%A6%E6%B8%AC¶m_url=https%3A%2F%2F
 www.abc.com¶m_special=+@#%~_&sign=fdaa1df42b6260a10e2e3f1c0fc</merchantURL> <processorTransacationID>007055</processorTransactionID> <reconciliationID>9530019443</reconciliationID> <amount>20.00</amount> <processorResponse>0000001</processorResponse> <dateTime>2020-01-11T12:47:19Z</dateTime> </apSaleReply> </replyMessage>
Sale Service Request (
Cybersource
Settlement Services Account)
<requestMessage xmlns="urn:schemas-cybersource-com:transaction-data-1.126"> <merchantID>mid43210</merchantID> <merchantReferenceCode>refnum1234</merchantReferenceCode> <invoiceHeader> <merchantDescriptor>Online Store</merchantDescriptor> </invoiceHeader> <billTo> <firstName>John</firstName> <lastName>Smith</lastName> <street1>10 TheStreet</street1> <city>Amsterdam</city> <country>NL</country> </billTo> <purchaseTotals> <currency>EUR</currency> <grandTotalAmount>20.00</grandTotalAmount> </purchaseTotals> <apPaymentType>IDL</apPaymentType> <apSaleService run="true"> <cancelURL>https://www.redirect.url.html?action=cancel</cancelURL> <successURL>https://www.redirect.url.html?action=success</successURL> <failureURL>https://www.redirect.url.html?action=failure</failureURL> </apSaleService> </requestMessage>
Response to a Successful Sale Service Request (
Cybersource
Settlement Services Account)
<replyMessage xmlns:c="urn:schemas-cybersource-com:transaction-data-1.126"> <merchantReferenceCode>refnum1234</merchantReferenceCode> <requestID>4703329437356002101200</requestID> <decision>ACCEPT</decision> <reasonCode>100</reasonCode> <purchaseTotals> <currency>EUR</currency> </purchaseTotals> <apSaleReply> <reasonCode>100</reasonCode> <paymentStatus>pending</paymentStatus> <responseCode>00001</responseCode> <merchantURL>https://merchant.redirect.com/url.do?param utf=%27%22%3C%3E
 %20%E6%B8%AC%E8%A9%A6%E6%B8%AC¶m_url=https%3A%2F%2F
 www.abc.com¶m_special=+@#%~_&sign=fdaa1df42b6260a10e2e3f1c0fc</merchantURL> <processorTransacationID>007055</processorTransactionID> <reconciliationID>9530019443</reconciliationID> <amount>20.00</amount> <processorResponse>0000001</processorResponse> <dateTime>2020-01-11T12:47:19Z</dateTime> </apSaleReply> </replyMessage>