Encrypt Salesforce B2B Commerce Fields

Now you can add another layer of security to customer data entered into your B2B Commerce storefronts. With Shield Platform Encryption, you can encrypt account and payment information, order details, and more fields included in the Salesforce B2B Commerce managed package. Encryption for Salesforce B2B Commerce supports filter-preserving deterministic encryption, giving you more protection and control over your sales and customer information.

Where: This change applies to Salesforce Classic, Lightning Experience, and all versions of the Salesforce app in Enterprise, Performance, Unlimited, and Developer editions. Available in version 4.10 and later of the Salesforce B2B Commerce managed package.

When: This update is available in late March 2019.

How: Make sure that you’ve installed version 4.10 or later of the Salesforce B2B Commerce managed package. On the Advanced Settings page in Setup, turn on Encrypt Custom Fields in Managed Packages. To encrypt standard fields included in the Salesforce B2B Commerce managed package, go to the Encryption Policy page in Setup, and click Encrypt Fields. Then select the fields you want to encrypt. You can also encrypt custom fields from the Fields & Relationships section in the Object Manager. For a list of supported fields, see Shield Platform Encryption for B2B Commerce.

Encryption for Salesforce B2B Commerce supports deterministic encryption but not probabilistic encryption. While you can see the probabilistic encryption option in the UI, using a probabilistic encryption scheme can cause the B2B Commerce logic to fail and produce unexpected behavior. To read more about this and other considerations, see Considerations for Encrypting B2B Commerce Fields.