- Print
- DarkLight
- PDF
How does the webshop basket integration work in RetailVista?
This document describes how to use the webshop basket processor located in Retail3000 from outside of RetailVista. The main function of this basket processor is to calculate all the discounts that can be applied to the products in the shopping cart. The great advantage of using the basket processor is that the same discount algorithms are used, as those applied in RetailVista, RetailEverywhere, and RetailVista POS. This way, a customer has a consistent experience of discounts, whether it's in the store or on the web.
Offering a shopping cart currently needs to be done through Retail3000, the service environment behind RetailVista. This environment has its own login credentials, which are separate from the ShopServer authentication. To communicate with the Retail3000 service environment, it is also necessary to create an opening in the firewall. This is done based on one or more fixed IP addresses from which communication takes place.
The website http://help.api.retail3000.net provides all the information on how to communicate with Retail3000.
The productComponents.asmx website contains a method called ProcessBasket. XML content can be passed to this function according to a fixed XSD structure. The Request XSD definition is included in the binaries for this QA. The ProcessBasket method returns an XML response with the applied discounts on the products in the shopping cart. The most recent inventory status is also directly indicated for these products. This can be used to verify once again in the final stage of the purchase process whether there is still sufficient inventory of the products.The ShopServer is updated every half hour, and then the webshop needs to be updated as well. Therefore, the stock levels in the webshop are never completely up-to-date.
The XSD in the XML response is also located in the binaries of this document.