Order Credit Notification Details

Order Credit Notification Request Example

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:OrderCreditNotificationRequest
    xmlns:ns2 = "http://integration.digitalriver.com/CommonAddress"
    xmlns:ns4 = "http://integration.digitalriver.com/OrderCreditNotificationService"
    xmlns:ns3 = "http://integration.digitalriver.com/CommonAttributes/1.0">
    <siteID>testSite</siteID>
    <locale>en_US</locale>
    <requisitionID>123456789</requisitionID>
    <billToAddress>
        <ns2:city>London</ns2:city>
        <ns2:country>US</ns2:country>
        <ns2:line1>9625 W 76th</ns2:line1>
        <ns2:line2>Suite 150</ns2:line2>
        <ns2:name1>test</ns2:name1>
        <ns2:name2>test</ns2:name2>
        <ns2:postalCode>55344</ns2:postalCode>
        <ns2:email>test@digitalriver.com</ns2:email>
        <ns2:extendedAttributeInfos/>
    </billToAddress>
    <shipToAddress>
        <ns2:city>London</ns2:city>
        <ns2:country>US</ns2:country>
        <ns2:line1>9625 W 76th St</ns2:line1>
        <ns2:line2>Suite 150</ns2:line2>
        <ns2:name1>testFirst</ns2:name1>
        <ns2:name2>testLast</ns2:name2>
        <ns2:postalCode>55344</ns2:postalCode>
        <ns2:email>test@digitalriver.com</ns2:email>
        <ns2:extendedAttributeInfos/>
    </shipToAddress>
    <orderSubmissionDate>2010-08-21-05:00</orderSubmissionDate>
    <requisitionExtendedAttributes>
        <name>orderGeneratedByFlag</name>
        <value>systemGenerated</value>
        <valueDataType>STRING</valueDataType>
    </requisitionExtendedAttributes>
    <requisitionExtendedAttributes>
        <name>DPLResult</name>
        <value>Accept</value>
        <valueDataType>STRING</valueDataType>
    </requisitionExtendedAttributes>
    <requisitionExtendedAttributes>
        <name>BankInfoRequired</name>
        <value>false</value>
        <valueDataType>BOOLEAN</valueDataType>
    </requisitionExtendedAttributes>
    <orderPricing>
        <total>
            <currencyCode>USD</currencyCode>
            <amount>94.37</amount>
        </total>
        <subtotal>
            <currencyCode>USD</currencyCode>
            <amount>87.97</amount>
        </subtotal>
        <tax>
            <currencyCode>USD</currencyCode>
            <amount>6.4</amount>
        </tax>
        <productTax>
            <currencyCode>USD</currencyCode>
            <amount>6.4</amount>
        </productTax>
    </orderPricing>
    <lineItemInfo>
        <lineItemID>1212121212</lineItemID>
        <quantity>2</quantity>
        <productData>
            <productKey>
                <productID>32323223</productID>
                <externalReferenceID>1KIP</externalReferenceID>
                <companyID>ca</companyID>
                <locale>en_US</locale>
            </productKey>
            <sku>PCTU2ECANA</sku>
            <name>CA PC Tune-Up 2.0</name>
            <displayName>CA PC Tune-Up 2.0 - 3 user</displayName>
        </productData>
        <lineItemPricing>
            <listPrice>
                <currencyCode>USD</currencyCode>
                <amount>39.99</amount>
            </listPrice>
            <tax>
                <currencyCode>USD</currencyCode>
                <amount>5.82</amount>
            </tax>
            <unitPrice>
                <currencyCode>USD</currencyCode>
                <amount>39.99</amount>
            </unitPrice>
            <unitPriceWithTax>
                <currencyCode>USD</currencyCode>
                <amount>45.81</amount>
            </unitPriceWithTax>
            <extendedListAmountWithTax>
                <currencyCode>USD</currencyCode>
                <amount>79.98</amount>
            </extendedListAmountWithTax>
            <extendedListAmountExcludingTax>
                <currencyCode>USD</currencyCode>
                <amount>79.98</amount>
            </extendedListAmountExcludingTax>
            <extendedSalesAmountWithTax>
                <currencyCode>USD</currencyCode>
                <amount>85.8</amount>
            </extendedSalesAmountWithTax>
            <extendedSalesAmountExcludingTax>
                <currencyCode>USD</currencyCode>
                <amount>79.98</amount>
            </extendedSalesAmountExcludingTax>
        </lineItemPricing>
        <lineItemExtendedAttributes>
            <name>verificationString</name>
            <value>c8cc74b197c13cb2056dda969ef29</value>
            <valueDataType>STRING</valueDataType>
        </lineItemExtendedAttributes>
        <lineItemExtendedAttributes>
            <name>KEYRESPRETURNCODE</name>
            <value>0</value>
            <valueDataType>STRING</valueDataType>
        </lineItemExtendedAttributes>
        <lineItemExtendedAttributes>
            <name>expirationDate</name>
            <value>8/21/2011 1:44:02 PM</value>
            <valueDataType>STRING</valueDataType>
        </lineItemExtendedAttributes>
    </lineItemInfo>
    <lineItemInfo>
        <lineItemID>12341234</lineItemID>
        <quantity>1</quantity>
        <productData>
            <productKey>
                <productID>121213434</productID>
                <externalReferenceID xsi:nil = "true" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance"/>
                <companyID>0</companyID>
                <locale>en_US</locale>
            </productKey>
            <mfrPartNumber>DR_EDS_PRODUCT</mfrPartNumber>
            <sku>DR_EDS_PRODUCT</sku>
            <name>Extended Download Service</name>
            <displayName>Extended Download Service</displayName>
        </productData>
        <lineItemPricing>
            <listPrice>
                <currencyCode>USD</currencyCode>
                <amount>9.99</amount>
            </listPrice>
            <tax>
                <currencyCode>USD</currencyCode>
                <amount>0.58</amount>
            </tax>
            <incentive>
                <currencyCode>USD</currencyCode>
                <amount>2.0</amount>
            </incentive>
            <unitPrice>
                <currencyCode>USD</currencyCode>
                <amount>9.99</amount>
            </unitPrice>
            <unitPriceWithTax>
                <currencyCode>USD</currencyCode>
                <amount>10.57</amount>
            </unitPriceWithTax>
            <extendedListAmountWithTax>
                <currencyCode>USD</currencyCode>
                <amount>9.99</amount>
            </extendedListAmountWithTax>
            <extendedListAmountExcludingTax>
                <currencyCode>USD</currencyCode>
                <amount>9.99</amount>
            </extendedListAmountExcludingTax>
            <extendedSalesAmountWithTax>
                <currencyCode>USD</currencyCode>
                <amount>8.57</amount>
            </extendedSalesAmountWithTax>
            <extendedSalesAmountExcludingTax>
                <currencyCode>USD</currencyCode>
                <amount>7.99</amount>
            </extendedSalesAmountExcludingTax>
        </lineItemPricing>
    </lineItemInfo>
</ns4:OrderCreditNotificationRequest>

Successful Order Credit Notification Response Example

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <OrderCreditNotificationResponse
	xmlns:ns2="http://integration.digitalriver.com/CommonAddress"
	xmlns:ns4="http://integration.digitalriver.com/OrderCreditNotificationService"
	xmlns:ns3="http://integration.digitalriver.com/CommonAttributes/1.0">
	<responseCode>0</responseCode>
	<responseMessage>Request is processed successfully</responseMessage>
</OrderCreditNotificationResponse>

Unsuccessful Order Credit Notification Response Example

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <OrderCreditNotificationResponse
	xmlns:ns2="http://integration.digitalriver.com/CommonAddress"
	xmlns:ns4="http://integration.digitalriver.com/OrderCreditNotificationService"
	xmlns:ns3="http://integration.digitalriver.com/CommonAttributes/1.0">
	<responseCode>1</responseCode>
	<responseMessage>Unknown error occurred that prevented request to complete normally</responseMessage>
</OrderCreditNotificationResponse>