Skip to content

Go further with Salesforce Order Management

Last updated: April 29, 2022

You can extend your Salesforce Order Management integration in multiple ways to suit all your business needs.

In this guide, you'll find how to:

Klarna settings

To support Klarna payments in Order Management, first make sure that you've created a payment gateway for alternative payment methods under App Launcher > Payment Gateways. To configure Klarna-specific settings, follow these steps:

  1. Go to Setup > Custom Code > Custom Metadata Types.
  2. Select Manage Records next to Klarna Settings.
  3. Select Edit next to the Default label.
  4. Configure the settings based on your preferences.

Payment capture and refund

Payment capture

To fulfill an order and capture a payment manually, follow the steps below:

  1. Sign in to Salesforce Order management and go to App Launcher > Order Management. This page displays a list of all existing orders.
  2. Select the order number for which you wish to capture the payment.
  3. On the Order Summary page, select Edit in the upper-right corner.
  4. In the pop-up window, set Status to Approved and select Save. This creates a corresponding fulfillment order.
  5. Refresh the Order Summary page and select the fulfillment order number under Related > Fulfillment Orders.
  6. To trigger the capture, set the status to Fulfilled, then select Mark as Current Status.

The payment is now captured. You can view this by going back to the Order Summary page. Refresh the page, scroll down to the Order Payment Summaries section in the Related tab, and you will see the captured amount.


To process a refund, follow these steps:

  1. On the Order Summary page, select Return Item.
  2. On the Return Item page, select the checkbox next to the item being returned and refunded, then select Next.
  3. On the following page, select the reason for the return.
  4. If you'd like to refund the shipping cost in addition to the cost of the item, tick Remove shipping amount.
  5. Select Next to proceed.
  6. Review the refund details and select Submit.
  7. On the next page, select Finish.

You can view the refunded amount on the Order Summary page, under Summary > Order Payment Summaries.

Viewing gateway logs

  1. On the Order Summary page, scroll down to the Order Payment Summaries section in the Related tab, and select the payment method (for example, Visa).
  2. On the Order Payment Summary page, in the Related tab, scroll down to the Gateway Logs section. To view a log, select its log number.

For captured payments, the logs will show capture and payment information, capture request and response, and notification data.

For refund transactions, the logs will show the refund request made to, as well as the webhook notification data for the refunded payment.