Payment details component
Learn how to use the Payment details component.
Note: The information in this section applies to both the drb2b_paymentDetails
component (Aura only) and drb2b_paymentDetails_LWR
component (LWR only).
Use the drb2b_paymentDetails
component to display payment details associated with an order. You can configure this component in the flow or experience builder. You can publish an event to show or hide the payment details component.
Publish the Payment details component events
Complete the following tasks to publish various event types. The event purpose and payload will vary depending on the use case.
Import DigitalRiverMessageChannel__c message
channel and message service into a custom JavaScript file as shown below.
Declare the message context variable as shown below.
Publish the event.
Refer to the following table for more information on the Payment details component events.
Event Purpose | Event Payload Example | Description |
---|---|---|
toggleShowPDComponent | {"isShow":true} | Publish this event to show {"isShow":true} or hide {"isShow":false} the Place order component. |
Last updated