Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

Search Help:  
 
Enter keywords to search help.

Exporting orders to XML file format

Orders are exported as an XML file "OrderList.xml" using the OrderList2.dtd. Please note that PayPal transaction ID information is currently not 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 does not 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 will do our best to add new attributes and tags to support additional information. Since we will not subtract from, or rearrange the existing attributes/parameters, your existing XML parsing software shouldn't be affected by the new information.

See Also


Was this article helpful?

Yes   No
Click to contact Customer Care for further assistance.