Salesforce: Get started
Available payment methods
Mollie for Salesforce offers a wide range of payment methods that your customers can use to pay during checkout.
Apple Pay (incl. Apple Pay Direct), Bancontact, Credit/Debit cards, Gift cards & Vouchers, Giropay, iDEAL, Klarna, PayPal, Przelewy24, KBC Payment Button, Belfius Pay Button, EPS, SEPA Bank Transfer.
For information on how to select the best payment methods for your business, refer to the Mollie Payment methods guide.
Features
Mollie for Salesforce offers the following features to effectively manage your online payments:
- Customize the payment experience
- Localize your payment methods
- Offer and manage subscriptions
- Manage orders and payments
Install and connect
Enhance your storefront site's payment options with Mollie.
What you need to do in advance:
- Create a Mollie account.
- Ensure that you use SFRA version
6.0.0
(compatibility mode21.2
) or an older release.
Note
Mollie for Salesforce does not support SiteGenesis.
- In Salesforce Business Manager:
- Ensure that you have created customer groups↗.
- Ensure that you have configured supported shipping countries↗.
- Ensure that you have configured allowed currencies↗.
- Ensure that you have NPM and Node installed.
Install
- Download the Mollie for Salesforce link cartridges from its GitHub repo↗.
- In your IDE, upload the link cartridges using a Salesforce extension.
- Log into Salesforce Business Manager.
- Set up the store front cartridges:
Important
Add the store front cartridges before the business manager cartridges, and in the order given.
Cartridge name | Description |
---|---|
mollie_sfra_changes | Overwritten SFRA controllers and templates |
int_mollie_sfra | Payment and checkout controllers and templates |
int_mollie | Business logic for order and payment management |
- Go to Administration > Sites > Manage sites > [store front site] > Settings.
- Copy the following string into the Cartridges field:
mollie_sfra_changes:int_mollie_sfra:int_mollie:app_storefront_base
- Set up the business manager cartridges.
Important
Add the business manager cartridges in the order given.
Cartridge name | Description |
---|---|
bm_mollie | A job that fails orders that have not been completed within the configured period (default: 24 hours); Business logic for custom actions↗ related to the maintenance of a particular order in the Salesforce Commerce Cloud Customer Service Center. |
int_mollie | Business logic for order and payment management. |
app_storefront_base | Business logic for custom actions↗ related to the maintenance of a particular order in the Salesforce Commerce Cloud Customer Service Center. |
- Go to Administration > Sites > Manage sites and select Business manager to access the business manager settings
- Copy the following string into the Cartridges field:
bm_mollie:int_mollie:app_storefront_base
- Import the Mollie metadata.
The Mollie project in your IDE includes a metadata folder with jobs, custom attributes, services, payment processors and payment methods that you need to upload to Salesforce.- Extract
metadata/metadata.zip
and make the following changes, where[site_name]
is the name of your store front site:- Change the name of the
sites/RefArch
directory to sites/[site_name].
- In the
access-roles.xml
file'sresource-path
parameter, replaceRefArch
with[site_name]
. - In
jobs.xml
file'ssite-id
parameter, replaceRefArch
with[site_name]
.
- Change the name of the
- Archive the changed contents to create a new
metadata/metadata.zip
file. - Log in to Salesforce Commerce Cloud Business Manager.
- Go to Administration > Operations > Import & Export.
- Under Import & Export Files, select Upload.
- Choose
metadata/metadata.zip
. - Select Upload.
- Extract
- Configure Mollie service credentials.
- Go to Administration > Operations > Services
If the Mollie metadata was imported correctly, you should see these services:- Mollie.CancelOrder
- Mollie.CancelOrderLineItem
- Mollie.CancelPayment
- Mollie.CreateCustomer
- Mollie.CreateOrder
- Mollie.CreateOrderRefund
- Mollie.CreatePayment
- Mollie.CreatePaymentRefund
- Mollie.Create Shipment
- Mollie.GetMethod
- Mollie.GetMethods
- Mollie.GetOrder
- Mollie.GetPayment
- Mollie.ValidateMerchant
- For each service, select Mollie in the Credentials column.
- Enter your Mollie API credentials.
- Select Apply.
- Go to Administration > Operations > Services
Connect
Mollie gives you two API keys to authenticate your requests:
- Test key: Use this key when setting up and testing Mollie.
- Live key: Use this key after Mollie has approved your account and you are ready to accept live payments.
To connect with Mollie, follow these steps:
- Log in to your Mollie Dashboard.
- Select the organization from the menu in the top-left corner of the dashboard's home page.
Important
To comply with UK regulations, UK-based merchants have to select a UK-registered organisation to ensure that they use the correct API keys.
- Go to More > Developers > API keys and copy them.
- Go to Settings > Website profiles.
- Copy the name of the website. This is your Mollie profile ID.
- Log in to Salesforce Commerce Cloud Business Manager.
- Open Select a site, and select a site from the list.
- Go to Merchant Tools > Mollie > Mollie General Settings.
- Select the Test or Live environment.
We recommend enabling test mode until you are sure that everything works as you expect. - Paste the API keys into their respective fields.
- Paste the Mollie profile ID into the Profile ID field.
- Save the changes.
Updated 5 months ago