Generating Credentials
To configure CyberSource within the Elastic Path Payments framework, you must generate REST API credentials in the CyberSource administrative console. Elastic Path makes secure calls to CyberSource for operations such as, pre-authorization, capture, and credit.
Generating REST API Credentials
First, we need to generate REST API credentials, which are used to allow Self-Managed Commerce services to communicate with CyberSource.
Sign in to the CyberSource admin console.
In the CyberSource console, go to Payment Configuration --> Key Management.
Click Generate Key, located in the upper right corner of the page.
Select REST - Shared Secret.

Click Generate key.
Make note of the following values. They will not be displayed again.
KeyShared Secret
Enabling Microform and Unified Checkout
Before you use the Microform or Unified Checkout method, make sure that the following are enabled for your merchant ID. If one of them is not enabled, contact your CyberSource account team.
- Microform, if you use the
MICROFORM_CREDIT_CARDmethod. - Unified Checkout, if you use the
UNIFIED_CHECKOUT_CREDIT_CARDmethod. - Token Management Service (TMS). Both methods save the card as a TMS customer token. If CyberSource returns no customer token, the plugin saves the third-party token that CyberSource returns instead.
- Zero-amount authorization on your processor. Both methods run a zero dollar authorization on the card before Elastic Path saves it. If your processor does not support zero-amount authorizations, every new card is declined.
Use the same merchant ID and REST API credentials that you use for your current CyberSource configuration.
Setting up Unified Checkout
Before you use the Unified Checkout method, set up Unified Checkout for your merchant ID.
Sign in to the CyberSource admin console.
In the CyberSource console, go to Payment Configuration --> Unified Checkout. The Unified Checkout: My customer experience page opens.

In Payment options, click Manage.
Select Card Payment.
Under Card brands, select the card brands that you accept.

Click Save and Publish.
note
The plugin sets the billing address, shipping address and payment completion options for each session, so changing them in the Business Center has no effect. The card brands, the look and feel and the other checkout steps come from the Business Center.
If Unified Checkout is not set up for your merchant ID, the Unified Checkout instructions request fails with the CyberSource message Profile for merchant not found or profile is still in draft state.
Generating Secure Acceptance Credentials
note
Secure Acceptance credentials are needed only for the deprecated Direct Post and Hosted Page methods.
Next, we need to generate Secure Acceptance credentials, which are used to allow your front-end to communicate with CyberSource.
In the CyberSource console, go to Payment Configuration --> Secure Acceptance Settings.
Click New Profile, located in the upper right corner of the page.
Enter a profile name, such as
Elastic Path Secure Acceptance Profile.Select an integration method:
- Select Checkout API for Direct Post to host the payment information fields on your own checkout pages.
- Select Hosted Checkout for Hosted Page to redirect the shopper to the CyberSource hosted payment page.
Enter the company name and contact information.
In Added Value Services, click Payment Tokenization.
note
If you don’t see the payment tokenization option, it is not enabled on your CyberSource account. Contact CyberSource support.

Click Submit.
Click the Payment Settings tab.

Select the card types that you want to accept.
Click the Security tab.
In the Security Keys list, click +.
Give the key a name, such as CyberSource Signing Lambda, and leave the other options as default.
Click Create.

Copy the access key and secret key.
warning
The secret key disappears within 30 seconds.
Click Customer Response.
Enter a URL to save the profile.
The URL can be any URL, such as
https://www.sampleurl.com. The URL is overridden by the request.
Click Save to make the profile active.
Click the checkbox icon to promote the profile.
Make note of the following values. They will not be displayed again.
Secure Acceptance Profile IDSecure Acceptance Access KeySecure Acceptance Secret Key