This article covers the required steps to integrate Affirm with your salesforce commerce cloud (SFCC). There are several features you can enjoy when using Affirm as a payment method, and we walk you through their implementation.
The Affirm integration enables you to add a functional payment processor into SFCC to make the eCommerce experience easier and more enjoyable. By providing a set of useful features and marketing tools, the Affirm integration enables you to process authorizations, captures, and refunds through the SFCC. To integrate Affirm as a payment option, follow these steps:
- Install Affirm on SFCC.
-
Configure Affirm for SFCC. Note:
- VCN Payment Instrument should be disabled unless virtual card integration is enabled for your merchant account.
- Leave the Financing program fields blank. This is now managed by Affirm unless you are offering multiple financing programs on a SKU, category or product level. To learn more about MFPs and how to set them up in Commerce Cloud, contact your Client Success Manager.
-
Add Affirm promotional messaging.
- Note: To support Affirm Promotional Messaging at checkout, you need to update your template files. These changes are made to the site for SiteGenesis storefronts. Some of them include custom modifications to your core cartridge for templates, client-side JavaScript, controllers (SiteGenesis Controllers version) and pipelines (SiteGenesis Pipelines version). To update your template files, see Controls & Pipelines Cartridge Installation.
- Enable your order management functions.
- Test your integration.
- You’re all set to go live!
Note: While you can process orders in the dashboard, we strongly recommend using Commerce Cloud to keep order status synced with Affirm.
For testing out your integration, watch this video: