SFCC Cartridge
Installation
Import Cartridge
10 min
importing the forter cartridge 1\ import the cartridge connect to your demandware server and select the import option then select “existing project into workspace” option in import projects → select archive file (or “root directory”) if you have already unzipped the cartridge 2\ import the metadata from the forter cartridge in the metadata folder of the cartridge you will find a zip file called site template go to administration > site development > site import & export and upload the zip file from there, select your uploaded zip file, click “import” and then click “ok” to complete 3\ review your cartridge paths (deprecated) non sfra (controllers or pipelines only) go to administration > sites > manage sites and choose your site click on the settings tab, add in the cartridge path int forter then click apply go to administration > sites > manage sites and click on business manager link add the following cartridge path bm forter \ int forter click apply mfra/sfra add in the cartridge path int forter mfra in case if site is mfra/sfra based 4\ customize your site preferences go to merchant tools > site preferences > custom preferences > forter forter enabled indicates whether the forter code will be executed or not forter cancel order on decline if enabled, when forter returns a “decline” decision, the order is failed and request is made to the payment processor to void the order if this option is not selected, then in cases of a “decline” decision, the order is placed (and order status will be “new”) forter auto invoice on approve if enabled, when an “approve” decision is returned the payment gateway capture request is called and the order is placed forter custom decline message option to create a message that can be shown if the forter show declined page option is selected forter show decline page if enabled this option means that a decline page (with a customizable message) is shown in cases when forter declines the order this setting is disabled if the cancel order when transaction is is declined is disabled number of weeks the time range (number of weeks) that the forter order update job queries in order to update the order status of past orders the default value is 4 weeks 5\ specify your api version your dedicated forter implementation team will generate an api schema taylored to your specific market, vertical, and checkout flow you can find all published versions of the api schema, you visit the api reference section https //portal forter com/app/developer/api/api/general/introduction where you will see the api versions under "version" on the upper left hand corner of the screen once you've identified the schema version you should point to, go to cartridges > int forter > cartridge > scripts > init > forterserviceinit js in the function createrequest function(svc, args, params) which is used to create requests from the cartridge to forter's server, ,modify the api version line the default line should read svc addheader("api version", "2 86"); modify 2 86 to align with the schema version provided to you in the portal 6\ finalize the forter permissions go to administration > organization > roles & permissions choose the administrator role and click on the business manager modules tab select your site from the select context section select forter modules and click apply forter permissions