Orders are exported as an XML file OrderList.xml using the OrderList2.dtd.
Note: PayPal transaction ID information isn't provided in orders exported in XML format.
The example (OrderList.xml) contains three orders: (ids scr-test-485, scr-test-486, and scr-test-487). Each order lists both the shipping and billing information in the <AddressInfo> tag with the 'type' parameter set to ship or bill respectively. The user-chosen shipping method will be in a <Shipping> tag. The credit card information will be in a <CreditCard> tag with parameters type and expiration set. The contents of the <CreditCard> tag may be empty if the viewer doesn't have the correct authorization to view credit card information. Each item in the order will be listed in an <Item> tag with a parameter num set to the line number of the item.
Your parsing software should be written to handle valid XML element values, including values that contain formatting, such as whitespace or linefeeds. For example, it may be possible for a customer to force a line break (linefeed) when entering their address information. As linefeeds within an XML element are valid XML, your parser should be able to handle this information.
As we continually add new features, we'll do our best to add new attributes and tags to support additional information. Since we'll not subtract from, or rearrange the existing attributes/parameters, your existing XML parsing software shouldn't be affected by the new information.
See Also: