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 Parameter | Description |
|---|---|
| Order Payment Summary Create Input |
This input is an Apex-defined variable of class ConnectApi.CreateOrderPaymentSummaryInputRepresentation. The variable includes these fields:
|
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.