Skip to main content

Generate CyberSource Keys and Tokens

Prerequisites

  • Ensure that you have a test account in the CyberSource sandbox.

  • Enable CyberSource Token Management Service. Contact CyberSource support.

    caution

    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

  1. Log into the CyberSource sandbox.

  2. Go to Payment Configuration > Key Management.

  3. Click +Generate key.

  4. Select SOAP Toolkit.

  5. Click Generate key.

    Make sure to copy the Soap toolkit key value or click Download key.

  6. In Commerce Manager, go to SYSTEM > Store Settings.

  7. Go to Payment Gateways tab and select CyberSource.

  8. Enter your Merchant ID as the username and your Soap toolkit key value as the password.

  9. Select the Test mode checkbox.

  10. Click Save.

Generating Tokens

This walkthrough shows you how to generate CyberSource tokens from credit card numbers.

  1. Log into the CyberSource sandbox.

  2. Go to Token Management > Tokens.

  3. Click NEW PROFILE.

  4. Enter the following:

    • Order Information
    • Payment Information
    • Customer Information
    • Shipping Information
    • Profile Information
  5. Click SAVE.

    The Profile ID displayed in the Profile List is the token required to process the payment. Copy the token value and prefix it with six (;) semicolons. For example, ;;;;;;11234FS5353FGFRSS2562.

    Token Management

    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.