Giter VIP home page Giter VIP logo

hybris's Introduction

Installation and Usage

Installing the Plugin into hybris with fulfilment functionality

First ensure that the version of hybris being used is supported for the plugin. Please view the Compatibility section for the current list of supported versions.

The plugin contains several hybris extensions. Take the following steps to include the full plugin into your hybris application:

  1. Unzip the supplied plugin zip file

  2. Copy the extracted folders to the ${HYBRIS_BIN_DIR} of your hybris installation.

  3. Remove conflicting AddOn:

  • If you are installing the B2C AddOn: Delete the worldpayb2baddon extension ${HYBRIS_BIN_DIR}/ext-worldpay
  • If you are only installing the OCC AddOn: Delete the worldpayaddon and the worldpayb2baddon extensions ${HYBRIS_BIN_DIR}/ext-worldpay
  • If you are installing the B2C AddOn and the OCC AddOn: Delete the worldpayb2baddon extension ${HYBRIS_BIN_DIR}/ext-worldpay
  • If you are installing the B2B AddOn: Delete the worldpayaddon extension from ${HYBRIS_BIN_DIR}/ext-worldpay
  1. Run the ‘ant clean’ command from within your hybris bin/platform directory.

  2. Copy the following lines into your localextensions.xml after . The extensions do not rely on any absolute paths so it is also possible to place the extensions in a different location (such as ${HYBRIS_BIN_DIR}/custom).

  • <path autoload="true" dir="${HYBRIS_BIN_DIR}/ext-worldpay"/>
  • <path autoload="true" dir="${HYBRIS_BIN_DIR}/ext-worldpayfulfilment"/>
  1. Run the following commands to install the AddOn's on the yaccelatorstorefront (replace "yacceleratorstorefront" with your custom storefront if relevant) or on the ycommercewebservices for the OCC AddOn (replace the bold "ycommercewebservices" with your OCC extension if relevant):
  • If you are installing the B2C AddOn:

  • ant addoninstall -Daddonnames="worldpayaddon" -DaddonStorefront.yacceleratorstorefront="yacceleratorstorefront"

  • If you are installing the B2B AddOn:

  • ant addoninstall -Daddonnames="worldpayb2caddon" -DaddonStorefront.yacceleratorstorefront="yacceleratorstorefront"

  • If you are installing the OCC AddOn:

  • ant addoninstall -Daddonnames="worldpayoccaddon" -DaddonStorefront.ycommercewebservices="ycommercewebservices"

Optional

  1. The worldpaysampledataaddon is optional, and can be installed by running:
  • ant addoninstall -Daddonnames="worldpaysampledataaddon" -DaddonStorefront.yacceleratorstorefront="yacceleratorstorefront"
  1. Run the ‘ant clean all’ command from within your hybris bin/platform directory.

  2. Run the hybrisserver.sh to startup the hybris server.

  3. Update your running system.using "ant updatesystem"

Except for setting up your hosts file, the Worldpay AddOn will work initally without any external setup needed.

The AddOn's are independent and can be installed on separate server instances.

Installing the Plugin into hybris with OMS functionality

First ensure that the version of hybris being used is supported for the plugin. Please view the Compatibility section for the current list of supported versions.

As the OMS extension cannot co-exist with the fulfilment extension (i.e. any fulfilment process generated through modulegen - yfulfilmentprocess), if the functionality has been extended, all customisations will need to be applied in the OMS extension and the fulfilment extension removed from the installation.

The plugin is supplied as a zip file with several hybris extensions inside. Take the following steps to include the full plugin into your hybris application:

  1. Unzip the supplied plugin zip file

  2. Copy the extracted folders to the ${HYBRIS_BIN_DIR} of your hybris installation.

  3. Remove conflicting AddOn:

  • If you are installing the B2C AddOn: Delete the worldpayb2baddon extension ${HYBRIS_BIN_DIR}/ext-worldpay
  • If you are only installing the OCC AddOn: Delete the worldpayaddon and the worldpayb2baddon extensions ${HYBRIS_BIN_DIR}/ext-worldpay
  • If you are installing the B2C AddOn and the OCC AddOn: Delete the worldpayb2baddon extension ${HYBRIS_BIN_DIR}/ext-worldpay
  • If you are installing the B2B AddOn: Delete the worldpayaddon extension from ${HYBRIS_BIN_DIR}/ext-worldpay
  1. Run the ‘ant clean’ command from within your hybris bin/platform directory.

  2. Copy the following lines into your localextensions.xml after . The extensions do not rely on any absolute paths so it is also possible to place the extensions in a different location (such as ${HYBRIS_BIN_DIR}/custom).

  • <path autoload="true" dir="${HYBRIS_BIN_DIR}/ext-worldpay"/>

  • <path autoload="true" dir="${HYBRIS_BIN_DIR}/ext-worldpayoms"/>

  1. Run the following commands to install the AddOn's on the yaccelatorstorefront (replace "yacceleratorstorefront" with your custom storefront if relevant) or on the ycommercewebservices for the OCC AddOn (replace the bold "ycommercewebservices" with your OCC extension if relevant):
  • If you are installing the B2C AddOn:

  • ant addoninstall -Daddonnames="worldpayaddon,ordermanagementaddon" -DaddonStorefront.yacceleratorstorefront="yacceleratorstorefront"

  • If you are installing the B2B AddOn:

  • ant addoninstall -Daddonnames="worldpayb2baddon,ordermanagementaddon" -DaddonStorefront.yacceleratorstorefront="yacceleratorstorefront"

  • If you are installing the OCC AddOn:

  • ant addoninstall -Daddonnames="worldpayoccaddon" -DaddonStorefront.ycommercewebservices="ycommercewebservices"

Optional

  1. The worldpaysampledataaddon is optional, and can be installed by running:
  • ant addoninstall -Daddonnames="worldpaysampledataaddon" -DaddonStorefront.yacceleratorstorefront="yacceleratorstorefront"
  1. Run the ‘ant clean all’ command from within your hybris bin/platform directory.

  2. Run the hybrisserver.sh to startup the hybris server.

  3. Update your running system.using "ant updatesystem"

Except for setting up your hosts file, the Worldpay AddOn will work initally without any external setup needed.

The AddOn's are independent and can be installed on separate server instances. For example, the worldpaynotificationaddon AddOn can be running on server instances dedicated for listening to Worldpay Order Modification messages.

Installing the Plugin using the provided recipes

The AddOn provides three gradle recipes to be used with the hybris installer.

  1. wp_b2c_acc with fulfilment functionality for both accelerator storefront and OCC web service.

  2. wp_b2c_acc_oms with OMS functionality for both accelerator storefront and OCC web service.

  3. wp_b2b_acc with fulfilment functionality for only accelerator storefront.

The recipes are based on the b2c_acc, b2c_acc_oms and b2b_acc recipes provided by hybris.

The recipes can be found under the installer folder.

To use the recipes on a clean hybris installation, copy the folder hybris to your ${HYBRIS_BIN_DIR}

Since the recipe generates the local.properties file with the properties defined in the recipe, optionally you can add your local.properties to the customconfig folder.

In order to install the AddOn using one of the recipes, run the following commands:

  • This will create a solution from the accelerator templates, and install the addons. HYBRIS_HOME/installer$ ./install.sh -r [RECIPE_NAME] setup
  • This will build and initialize the platform HYBRIS_HOME/installer$ ./install.sh -r [RECIPE_NAME] initialize
  • This will start a commerce suite instance HYBRIS_HOME/installer$ ./install.sh -r [RECIPE_NAME] start

hybris's People

Contributors

eusebiotrigo avatar lochansim avatar martincrowell avatar thomasryegaardchristensen avatar

Watchers

 avatar  avatar

Forkers

bersanf

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.