Generate CyberSource keys and tokens
This walkthrough shows you how to generate CyberSource keys and tokens.
Generate CyberSource keys.
- Set up access
Generate CyberSource tokens.
- Set up access
- Generate tokens
Prerequisites
If you want to follow along, you need the following items:
A browser other than Chrome.
Currently, the account login does not work in Chrome.
A test account on the CyberSource sandbox.
CyberSource Token Management Service is enabled. To enable the service, contact CyberSource support.
If you have not enabled the Token Management Service, all payment transactions are blocked. For more information about the service not being enabled, see the Visa Developer Community.
Generating CyberSource keys
Follow the step-by-step walkthrough to set up the CyberSource payment gateway on the Commerce Manager.
Set up access
Go to
Payment Configuration
→Key Management
and clickGenerate Key
.Select
Transaction Processing
and clickNext
.Select
SOAP
and clickSubmit
.Copy the
Soap toolkit key
value.Go to Commerce Manager
Settings
→Payment Gateways
and enable the CyberSource configuration.Enter your
Merchant ID
as the username and yourSoap toolkit key
as the password.Select the
Test mode
check box and clickSave
.
Generating Tokens
This walkthrough shows you how to generate CyberSource tokens from credit card numbers.
Set up access
Go to
Payment Configuration
→Key Management
. ClickGenerate Key
.Select
API Cert / Secret
. ClickNext
.Select
Shared Secret
. ClickSubmit
.Take note of the following items:
Shared secret
Key id
The key id is visible on the key list page.
Organization id
This is also known as the merchant id.
Generate tokens
Generate a single use key.
To generate a key, see CyberSource Key Generation.
Select the
Authentication
tab in theRequest
area.Enter
Merchant Id
,Key
, andShared Secret Key
values.Click
Update Credentials
.Click
Send
.Note the
keyId
value from the response.Tokenize the card information.
To tokenize the card information, see CyberSource Tokenization.
In the request, update
keyId
value. Optionally, update the card information values.Press
Send
.Copy the token value and prefix it with six
(;)
semicolons. For example,;;;;;;11234FS5353FGFRSS2562
.CyberSource has sample credit card numbers for testing purposes. For more information, see the CyberSource Testing Guide.
For examples about how to integrate Flex API and Microform on the frontend, use the Secure Acceptance Flexible Token SDK.