Setup Business Manager - mollie/SalesforceCommerceCloud GitHub Wiki

Setup Storefront Cartridges

The first thing to do is to setup the Storefront cartridges. The plugin exists out of 3 storefront cartridges. These cartridges will need to be added to Cartridge Path of the required Storefront Site(s).

Name Purpose
int_mollie Contains all the business logic pertaining order and payment management through the Mollie API.
int_mollie_sfra Contains Payment and Checkout controllers and templates.
mollie_sfra_changes Contains overwritten SFRA controllers and templates

It is important to add the cartridges in the following order. Insert these cartridges before app_storefront_base cartridge.

Cartridge List
mollie_sfra_changes:int_mollie_sfra:int_mollie

Setup Business Manager Cartridges

When this is done, it is time to setup the Business Manager cartridges. There are 2 cartridges that you will need to be added to the cartridge path for the Business Manager.

Name Purpose
int_mollie Contains all the business logic pertaining order and payment management through the Mollie API.
bm_mollie
  • Contains a job to check for orders that have not been completed after 24 hours (configurable) and fails them. If by any chance the payment flow was completed for this order but failed, the order will be set to the complete status.
  • Contains custom Customer Service Centre actions per order. These actions will help maintaining the order.
app_storefront_base Add this cartridge to provide the necessary business logic to the custom actions in the Customer Service Center

It is important to add the cartridges in the following order.

Cartridge List
bm_mollie:int_mollie:app_storefront_base

Import Data

The project also contains a metadata folder. This metadata folder contains jobs, custom attributes, services, payment processors and payment method required.

To import the data, follow the next steps:

  1. Unzip metadata/metadata.zip rename RefArch to your site name. You need to do the change at the following locations:
    • Cahnge the name of the directory sites/RefArch to sites/{{your_siteId}}
    • Replace RefArch in the resource-path inside the file access-roles.xml
      • Make sure to check all the roles that should gain access to the Mollie Configuration Pages. Only the Administrator Role is included in the import file.
    • Replace RefArch in the site-id inside the file jobs.xml
  2. Go to Administration -> Operations -> Site Import & Export
  3. Under Import & Export Files click on Upload
  4. Upload the metadata/metadata.zip
  5. Import the uploaded file
⚠️ **GitHub.com Fallback** ⚠️