How does a project implement the process to persist payment information datain the Checkout flow for Salesforce B2B Commerce version 4.2 and beyond?
How does a project implement the process to persist payment information datain the Checkout flow for Salesforce B2B Commerce version 4.2 and beyond?
A . Trigger a remote action when the process payment button is selected to capture the payment.
B . Trigger a remote action to store the payment information in the URL query parameters.
C . Trigger the processPayment event and pass in the payment information object as an argument.
D . Trigger the externalprocessedPayment and pass in the payment information object as an argument.
Answer: C
Explanation:
To persist payment information data in the Checkout flow for Salesforce B2B Commerce version 4.2 and beyond, the project needs to trigger the processPayment event and pass in the payment information object as an argument. This event will invoke the processPayment method of the ccServicePayment class, which will validate and process the payment information and return a payment result object. The payment result object will contain the status and details of the payment transaction.
Latest B2B Commerce For Developers Dumps Valid Version with 139 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund