Install the Salesforce Payments Plug-In

To clone or download the plug-in, you must have access to the Salesforce Commerce Cloud repositories on GitHub.

  1. In the SFRA repositories, search for the plugin_commerecepayments repository.
  2. Clone or download the repository to your local system.
    In your directory structure, make sure that the repository is next to other SFRA repositories. If you nest the repository, you can’t use the plug-in.
  3. To build the cartridge, run the npm run build command from the top level of the plugin_commercepayments directory.
  4. In the dw.json config file, edit the hostname, username, password, and code version.
    The dw.json file establishes the server connection and the code version to upload the cartridge.
  5. To upload the cartridge, run the npm run uploadCartridge command from the top level of the plugin_commercepayments directory.
  6. In Business Manager, set up the cartridge path.
    1. Select Administration > Sites > Manage Sites.
    2. Select your site.
    3. On the Settings tab, update the cartridge's path name.
  7. In Business Manager, specify the code version.
    1. Select Administration > Site Development > Code Deployment.
    2. Activate the code version specified in the dw.json config file.
Use ISML tags and Script APIs to integrate Salesforce Payments functionality in your site. See the commerce payment ISML elements isbuynow and ispayment, and the dw.extensions.payments.
X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.