Giter Club home page Giter Club logo

connect-extension-salesforce-commerce-cloud's Introduction

connect-extension-salesforce-commerce-cloud

Ingenico Connect based Shopping Cart Extension for Salesforce Commerce Cloud

This extension can also be found on the Salesforce Commerce Cloud marketplace athttps://www.demandware.com/link-marketplace/ingenico-epayment-globalcollect-platform.

For detailed documentation including screenshots please see https://github.com/Ingenico-ePayments/connect-extension-salesforce-commerce-cloud/tree/master/documentation.

Introduction

The below instructions cover the basic steps required to get the Ingenico Salesforce Cloud Commerce SDK with the reference implementation for Site Genesis installed on a sandbox.

Requirements

The details required from Ingenico’s Configuration Center are:

  • Merchant IDs
  • API key ID
  • API Secret key
  • Webhook key
  • Webhooks Secret key

Installation steps

  1. Import Site Genesis Demo site

Navigate to Administration > Site Development > Site Import & Export, select SiteGenesis Demo Site and click import and confirm.

  1. Upload SDK customisation

Navigate to Administration > Site Development > Site Import & Export, choose the file to upload site_import.zip located in the metadata folder. After upload completes, select site_import.zip from the list and click import and confirm.

  1. Upload SDK cartridges

The three cartridges that need to be uploaded into the sandbox are:

  • int_ingenico
  • int_ingenico_feature
  • bm_ingenico

The code can be uploaded using WebDav on https://SANDBOX_URL/on/demandware.servlet/webdav/Sites/Cartridges and in the relevant version. If the version chosen is not the active one, it needs to be activated before it can be used. Activation is done through the Code Deployment screen found in Administration > Site Development > Code Deployment.

  1. Update cartridge path

Prepend “int_ingenico_feature:int_ingenico:” to Cartridges path on Administration > Sites > Manage Sites > SiteGenesis - Settings and Administration > Sites > Manage Sites > SiteGenesisGlobal - Settings. This will make sure that the plugin code will be used by the two sites in SiteGenesis.

The path once prepended should look like below in all lowercase.

int_ingenico_feature:int_ingenico:sitegenesis_storefront_controllers:sitegenesis_storefront_core

The business manager path in Administration > Sites > Manage Sites > Business Manager - Settings also needs changing to include the business manager plugin as below.

bm_ingenico:int_ingenico:int_ingenico_feature:sitegenesis_storefront_core
  1. Set API site preferences

Select a website from the list on the top left to add the API details in the site custom preferences. Once selected, navigate to Merchant Tools > Site Preferences > Custom Site Preference Groups > Ingenico API Credentials and fill in all the relevant fields, select the platform (GlobalCollect - WW only or Ogone - EU only) and the environment.

When using webhooks to get status updates, the URL used to receive the updates is specific to each site and account. The format of the URL is as shown below.

https:/**DOMAIN**/ on/demandware.store/Sites-**SITENAME**-Site/**LANGUAGE**/Ingenico-Feedback

The DOMAIN is the one that links to the instance (sandbox, staging or production). SITENAME refers to the name as shown in Business Manager for each site. LANGUAGE is one of the locals that are allowed on the specific site as defined in Merchant Tools > Site Preferences > Locales.

NOTE: Both endpoints (WW and EU) will automatically failover to a second datacenter in case the main datacenter isn't available.

NOTE: There is a one to one mapping between webhook URL, Ingenico account, Demandware site and orders. Orders placed in one site, need to receive the update on the specific URL for that site.

  1. Update role permissions

In order to manage the pending, a role needs to be given the permission Orders (Action pending) to do so. The instructions below explain how to give the permission to the Admin role. Navigate to Administration > Organization > Roles > Administrator - Business Manager Modules. When selecting the Business Manager module, select all sites from the pop-up window that will appear.

Scroll until the Orders section where you will find Orders (Action pending). Tick the box and save the settings.

connect-extension-salesforce-commerce-cloud's People

Contributors

ingenicoepayments avatar rikvanthof avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

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.