Loading
Prepare for Email to Become the Default Login ExperienceRead More
Intermittent freezing when using using certain browser versionsRead More
Automate Your Business Processes with Salesforce Flow
Create Order Payment Summary Action

Create Order Payment Summary Action

In Salesforce Order Management, create an order payment summary for a payment authorization or payments that use the same payment method and are attached to the same order summary.

Required Editions

Available in: Lightning Experience
View supported editions.
This feature requires the Salesforce Order Management add-on. To purchase, contact your Salesforce account executive.

In Flow Builder, add an Action element to your flow. Select the Order Management category, and search for Create Order Payment Summary.

Set Input Values

Use values from earlier in the flow to set the inputs. Include at least one payment authorization or list of payments. You don’t need both.

Input ParameterDescription
Order Payment Summary Create Input

This input is an Apex-defined variable of class ConnectApi.CreateOrderPaymentSummaryInputRepresentation.

The variable includes these fields:

  • orderSummaryId — Reference to the order summary associated with the payments. In orgs with the multicurrency feature enabled, the order payment summary inherits the ISO Currency value from the order summary.
  • paymentAuthorizationId — Reference to the payment authorization to associate with the summary.
  • paymentIds — List of IDs of the payments to associate with the summary.

Store Output Values

Output Parameter Description
Order Payment Summary Output

This value is an Apex-defined variable of class ConnectApi.CreateOrderPaymentSummaryOutputRepresentation.

The orderPaymentSummaryId field contains the ID of the created order payment summary.

Usage

To set up the Order Payment Summary Create Input for payments, first use Assignment elements to add the payment IDs to a list of strings variable. Then use that variable in the action input.

 
Loading
Salesforce Help | Article