2.4. Adding and configuring the WebStore e-commerce module for Orchard
2.4.1 Installing, configuring and enabling the module
As any other Orchard module, the WebStore e-commerce module for Orchard is available in the Gallery.
By default, the module is configured to work with a Paypal Sandbox account. To switch to Paypal production mode, open the Controllers\BasketController.cs file of the module's directory, and edit line 18 by changing
private const string K_PAYPAL_PAYMENT_URL = "https://www.sandbox.paypal.com/cgi-bin/webscr";
to
private const string K_PAYPAL_PAYMENT_URL = "https://www.paypal.com/cgi-bin/webscr";

Once installed adn configured, the module can be enabled under the "e-commerce" category of the Features section.

2.4.2 Configuring the module
To be effective, the module must be configured with the following information :
- WebStore Services URL
- Merchant
- Catalog
This can be set under the WebStore area of the Settings section.

Don't forget to specify a paypal account (email address) to receive payments, otherwise the final step of the checkout won't be operationnal.
2.4.3 Synchronizing the module
Once configured, the WebStore e-commerce module for Orchard must fetch all the data from the services.
This can be done using the "Synchronize" link in the WebStore section of the left hand-side menu.

Orchard is now ready to display your WebStore content (categories, products, shopping cart...).

Next :
Managing Categories in Magelia WebStore and Orchard