Cert++
Close

Custom payment component for LWR checkout

Key Takeaway

Sensitive payment data stays in the provider's UI component, and your Apex payment gateway adapter verifies the transaction with a PostAuth request.

A custom payment component is a Lightning web component that you build for an LWR store's checkout page, so shoppers can pay through a payment provider you choose. The component follows a client-side model: it sends payment details straight to the provider, and an Apex payment gateway adapter in Salesforce then validates the transaction on its own. The main benefit is PCI compliance and security. Sensitive payment data stays in a cross-domain UI component owned by the provider, so the provider carries much of the PCI burden.

Payment component options

There are several payment component options.

ComponentFor
Standard Payment and Dual Payment componentsServer-side B2B implementations
Salesforce Payments componentOrgs that have Salesforce Payments
Custom payment componentClient-side implementations, where you build a custom component or adapt an existing one
Salesforce Accredited B2B Commerce Developer Professional Study Guide

Checklist progress

0/124Learned

Prepare for the Exam

Play Today's Certle

Study Community

Ask questions and get the latest info from other Salesforce Accredited B2B Commerce Developer Professional studiers.