SFCC Configure the Cartridge
Set the Cartridge Path
Before the Afterpay functionality can become available to your site, the cartridge names must be added to the cartridge path of the Site’s settings. To do this, follow these instructions:
- Log into Business Manager.
- Navigate to Administration > Sites > Manage Sites > [yourSite] > Settings
- If you are using SFRA, enter:
int_afterpay_sfra:int_afterpay_core:app_storefront_base. If you are using SFRA > 6.0.0 then you should useint_afterpay_sfra_6 instead. - If you are using SiteGenesis, enter:
int_afterpay_sg:int_afterpay_corein front of Sitegenesis base cartridges.
- If you are using SFRA, enter:
- Click Apply.
Set SFCC (Demandware) Service
Navigate to Administration > Operations > Services > Credentials > and select the required service and enter the account details.
Set Afterpay Custom Site Preferences
In Business Manager, navigate to the Merchant Tools > Site Preferences > Custom Preferences. A custom site preference group with the ID Integration_Afterpay is available for you to use. Select it and edit the attributes according to your Afterpay account data and the data shown in the table below.
Listed preferences are for the Afterpay cartridge v23.4.1 and above. If you are using any other versions please refer to the integration guide provided under the documentation folder in the repository.
Add the Afterpay Image to the Payment Method (For SiteGenesis)
To display the Afterpay image on the site, you must add the image to your site:
-
Go to Merchant Tools > Ordering > Payment Methods.
-
Select the payment method with the ID AFTERPAY/CLEARPAY (depending on the target region) and locate the image attribute and upload the image included in the cartridge. (int_afterpay_sg/cartridge/static/default/images/logo-afterpay-colour.png or int_afterpay_sg/cartridge/static/default/images/logo-clearpay-colour.png).