Default Integration
- Check which SFRA version is required for this upgrade and migrate if necessary. We recommend you use the latest version of SFRA.
- Download the Adyen cartridge version that you want to install from GitHub.
-
Reupload the metadata:
- Include your customizations in the metadata file.
- Open the package/metadata/site_import/sites/ folder.
- Rename the yourSiteId (RefArch) folder to the ID of your site in your Salesforce Business Manager.
- Open the package/metadata/site_import/jobs.xml file.
-
Rename the
site-idto the ID of your site in your Salesforce Business Manager. - Zip the site_import folder.
- In the Business Manager, go to Administration > Site Development > Site Import & Export and import the zipped file.
-
Run to following command from the root directory to transpile, compile and upload the compatible, auto-generated code:
-
Adjust your cartridge path setup:
- In the Salesforce Business Manager, go to Administration > Sites > Manage Sites > [yourSite] > Settings.
-
In the Cartridges field for SFRA, enter, your cartridge path. The cartridge path depends on the version you are upgrading to:
Customized Integration
Before you begin, check if there are any breaking changes that affect your custom code.- Extract any custom code you have added to the cartridge.
- Add the extracted custom code in a separate cartridge. For example, int_custom_cartridge.
- Check which SFRA version is required for this upgrade and migrate if necessary. We recommend you use the latest version of SFRA.
- Download the Adyen cartridge version that you want to install from GitHub. Create a folder with the downloaded cartridge.
-
Re-upload the metadata:
- Include your customizations in the metadata file.
- Open the package/metadata/site_import/sites/ folder.
- Rename the yourSiteId (RefArch) folder to the ID of your site in your Salesforce Business Manager.
- Open the package/metadata/site_import/jobs.xml file.
-
Rename the
site-idto the ID of your site in your Salesforce Business Manager. - Zip the site_import folder.
- In the Business Manager, go to Administration > Site Development > Site Import & Export and import the zipped file.
-
Run the following command from the root directory of the unmodified Adyen cartridge to transpile, compile and upload the compatible, auto-generated code:
-
Run the following command from the root directory of your customized cartridge to transpile, compile and upload the compatible, auto-generated code:
- Check if the custom code is compatible with the new version and apply changes if needed.
-
Adjust your cartridge path setup:
- In the Salesforce Business Manager, go to Administration > Sites > Manage Sites > [yourSite] > Settings.
-
In the Cartridges field for SFRA, enter: int_custom_cartridge:YOUR_CARTRIDGE_PATH. The cartridge path depends on the version you are upgrading to:
- Re-enable the Salesforce Business Manager configuration page.