Salesforce OMS package
Set up the Adyen Salesforce OMS packageBefore You Begin
Requirements
Before you begin, take into account the following requirements, limitations, and preparations.How it works
With our Salesforce OMS package, you handle captures and refunds for the payments of your Salesforce Commerce Cloud storefront. The package keeps the Adyen and Salesforce systems in sync, so that you can seamlessly manage your order and payment flows. To set up the package:- Follow the guided configuration flow. Optionally, you can still set up the package manually.
- After you have set up the package, configure capture settings to make sure your order status lifecycle runs as expected.
- When you are ready to go-live, follow the steps to go-live.
Install the app
- In your Salesforce OMS Org, enable multiple currencies.
- Install the Adyen Payments for Salesforce Order Management (SOM) app with the installation key Payments@Adyen.
- Follow the instructions on the Salesforce Application Installation Guide.
Guided Configuration
Follow the guided configuration
From v3.3.0 onwards, the Salesforce OMS package includes a guided configuration.- Open your Salesforce OMS.
- Go to App Launcher > Adyen Config Page.
- Follow the on-screen steps to complete the setup.
Configure Sfcc
Configure capture settings
With our OMS package, you can capture payments at any step in your order fulfillment flow. The steps you need to follow to configure captures in SFCC depends on your capture setting in the Adyen Customer Area:- Manual capture : you can capture payments from the OMS after they have been authorized.
- Automatic capture : payments are captured automatically after authorization. You do not have to manually capture payments from the OMS. Our OMS package handles the automatic captures without disrupting the payment flow. If you have set up automatic capture in your Customer Area, follow the steps to enable automatic captures with OMS.
Enable automatic captures
To prevent OMS from making duplicate capture requests to Adyen when you have set up automatic captures in your Adyen Customer Area, follow the steps below.- In your Salesforce OMS Org, go to Setup > Custom Code > Custom Metadata Types.
- Select Adyen Adapter.
- Scroll down to Adyen Adapter Layout, and select Edit.
- Drag and drop the Auto Capture Enabled and Manual Capture Payment Methods fields to the Adyen Adapter Layout.
- Select Save.
- Select Manage Adyen Adapters.
- Next to Adyen Default, select Edit.
-
Select the checkbox next to Auto Capture Enabled.
When you have set this up, OMS will process the payment record without an additional capture request, and the following payment gateway log will be created: -
For some payment methods, manual captures are required even when you have set up automatic captures in your Adyen Customer Area. In the Manual Capture Payment Methods field, specify the payment methods that require manual capture, using the
paymentMethodVariantfor each payment method. Separate each variant with a comma, for example: - Select Save.
Specify payments without separate captures in SFCC
Payments for some payment methods are captured immediately after authorization regardless of your capture settings. You need to specify these payment methods that you enabled in the Adyen Customer Area in your Salesforce Business Manager. This prevents OMS from initiating duplicate capture requests.- In your Salesforce Business Manager, go to Merchant Tools > Site Preferences > Adyen settings > Local payment method settings.
- In the Payment methods without separate capture field, specify the payment methods that you added in your Customer Area. Separate each variant with a comma, for example:
- Select Save Changes.
Go live
When you are ready to go live, apply for a live account. Review the process to start accepting payments on Get started with Adyen. When you get your live account:- Follow our SFCC go-live checklist. You do not need to follow the steps to configure the SFCC Business Manager in the checklist.
-
Update the Adyen credentials you used to set up your Salesforce OMS Org:
-
In the custom metadata record:
- Update your HMAC key.
- If you are using a different merchant account in the live environment, update the merchant account name.
-
In the custom metadata record:
-
Switch the URL for the Adyen Checkout named credential to your live URL:
- In your OMS Org, go to Setup > Security > Named Credentials.
- Select the Adyen Checkout named credential.
- Replace the test URL with
https://[YOUR_LIVE_PREFIX]-checkout-live.adyenpayments.com/checkout. Get your live prefix from the live Customer Area.
-
Switch your test API key to your live API Key:
- Select the External Credential linked to your Adyen Checkout named credential.
- Under Principals, update your API key authentication parameter to your live API key.
Next steps
Set up Order on Behalf Of
Enable your customer service employees to place orders on behalf of shoppers.
Enable Auhtorization Reversals
Handle situations where you need to reverse an authorization.