Shop Export
Using shop configuration it is possible to let the user add a number of items to the shopping basket in the catalog, after which the contents can be sent to a remote site for further processing. At this point, the remote site can handle registration, payment, etc.
Setup
Once the shop configuration has been enabled, you can enable export by selecting “Export” as the primary checkout option. Once enabled, you will have to provide an export URL. This is the URL to which the shop contents are sent, when the user invokes the shop export function. Finally, you can choose whether to send the data in the current window, or open it in a new window.
Export format
To assist in keeping track of orders sent through our Shop Export we supply a few more details than just the items that was ordered.
Property Name | Description |
---|---|
paper | Short hand URL from where the flipbook was served |
flipbookcompleteurl | Full URL of the flipbook |
exportorigin | Full URL of the flipbook, including the querystring that was set at the point in time the export was done |
orderId | Order Id in the iPaper platform that can be used for reference |
orderDate | Date when the order was exported from the iPaper platform |
For each item in the basket that was exported we include the name, description, price, product ID, and amount, as selected in the catalog. An example of a shop XML is as follow:
Note:
Even though the shop XML also exposes the paper
attribute alongside with flipbookcompleteurl
, we strongly encourage you to use the latter because the former does not include the full public URL of the flipbook.
Loading the exported shop XML
The following is a complete sample of an aspx page that is able to receive and parse the shop XML. What is done with it afterwards is up to you. This sample simply prints the contents of the basket to the page.
Last updated