After you configure the Cybersource settings, you must create profiles in the APTS CyberSource Profile Details custom settings. The Cybersource unmanaged package includes a Cybersource custom setting named APTS_CyberSource_Profile_Details__c. This custom setting stores the access_Key, Secret_Key, and Profile ID from Payments. You must create two records in the custom settings, one for the hosted profile and another for the checkout profile.

To create a hosted profile in a custom setting

  1. Go to Setup > Develop > Custom Settings and click Manage for APTS CyberSource Profile Details.
  2. Click New.
  3. Enter the Name for the profile. For example System Properties.
  4. Enter the Access Key that you generated in the Security tab in Cybersource.
  5. Enter the IFrame URL provided by Cybersource during the subscription.
  6. Enter the Merchant ID. The merchant ID is the same as the Organization ID that you used to create the Cybersource account.
  7. Enter the Profile ID. You will receive the Profile ID when you create a secure acceptance profile.
  8. In Secret Key1 and Secret Key2, enter the secret keys that you generated in the Security tab in Cybersource.

    Due to the Salesforce limitation of 250 characters, the secret key is divided into two fields. You must manually break the key into two and enter these fields. You must ensure that there are no extra spaces at the beginning or, the end of the secret key.

  9. If you are using a test environment, select Is TestEnvironment.

    Checking this flag sets the default order amount to $100 as Cybersource may display an error for amounts exceeding $100 in test environments.
  10. Click Save.

To create a checkout profile in a custom setting

  1. Go to Setup > Develop > Custom Settings and click Manage for APTS CyberSource Profile Details.
  2. Click New
  3. Enter the Name for the profile. For example Silent Checkout Profile.
  4. Enter the Access Key that you generated in the Security tab in Cybersource.
  5. Enter the Iframe URL provided by Cybersource during the subscription.
    1. Enter the Merchant ID. The merchant ID is the same as the Organization ID that you used to create the Cybersource account.
  6. Enter the Profile ID. You will receive the Profile ID when you create a secure acceptance profile.
  7. In Secret Key1 and Secret Key2, enter the secret key that you generated in the Security tab in Cybersource.

    Due to the Salesforce limitation of 250 characters, the secret key is divided into two fields. You must manually break the key into two and enter in these fields. You must ensure that there are no extra spaces at the beginning or, the end of the secret key.

  8. If you are using a test environment, select Is TestEnvironment.

    Checking this flag sets the default order amount to $100 as Cybersource may display an error for amounts exceeding $100 in test environments.

  9. Click Save.

To configure the callback URL for Payment Iframe in the custom settings

  1. Go to Setup > Develop > Custom Settings and click Manage for APTS CyberSource Profile Details.
  2. Click System Properties.
  3. Enter the Payment Callback URL,  to redirect the customer to the Digital Commerce application after payment is done.

  4. Click Save.