Download PDF
Download page Creating Profiles in Custom Settings.
Creating Profiles in Custom Settings
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 custom settings
- Go to Setup > Develop > Custom Settings and click Manage for APTS CyberSource Profile Details.
- Click New.
- Enter the Name for the profile. For example System Properties.
- Enter the Access Key that you generated in the Security tab in Cybersource.
- Enter the IFrame URL provided by Cybersource during the subscription.
- For Test Transactions, you must use https://testsecureacceptance.cybersource.com/embedded/pay
- For Live Transactions, you must use https://secureacceptance.cybersource.com/embedded/pay or the URL provided by Cybersource.
- Enter the Merchant ID. The merchant ID is the same as the Organization ID that you used to create the Cybersource account.
- Enter the Profile ID. You will receive the Profile ID when you create a secure acceptance profile.
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.
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.
- Click Save.
To create a checkout profile in custom settings
- Go to Setup > Develop > Custom Settings and click Manage for APTS CyberSource Profile Details.
- Click New.
- Enter the Name for the profile. For example Silent Checkout Profile.
- Enter the Access Key that you generated in the Security tab in Cybersource.
- Enter the Iframe URL provided by Cybersource during the subscription.
- For Test Transactions, you must use https://testsecureacceptance.cybersource.com/silent/embedded/pay
- For Live Transactions, you must use https://secureacceptance.cybersource.com/silent/embedded/pay or the URL provided by Cybersource.
- Enter the Merchant ID. The merchant ID is the same as the Organization ID that you used to create the Cybersource account.
- Enter the Profile ID. You will receive the Profile ID when you create a secure acceptance profile.
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 these fields. You must ensure that there are no extra spaces at the beginning or, the end of the secret key.
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.
- Click Save.
To configure the callback URL for Payment Iframe in the custom settings
- Go to Setup > Develop > Custom Settings and click Manage for APTS CyberSource Profile Details.
- Click System Properties.
Enter the Payment Callback URL, to redirect the customer to the Partner Commerce application after payment is done.
- Click Save.