> ## Documentation Index
> Fetch the complete documentation index at: https://docs.upstackdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Other Transaction Cost: Custom Payment Processing Fees

> Track user-defined transaction costs from order cost entries. Includes additional payment processing fees beyond standard gateway charges.

<Tip>
  User-defined transaction costs from order cost entries—additional payment processing fees beyond standard gateway charges.
</Tip>

## Formula

<Info>
  **Other Transaction Cost** = **SUM** ( Order Cost Entries ) **WHERE** [category = Transaction](/data-dictionary/measures-and-dimensions)
</Info>

### Formula Components

| Metric                                                                 | Definition                                          |
| ---------------------------------------------------------------------- | --------------------------------------------------- |
| **Order Cost Entries**                                                 | Custom costs you've assigned to orders in Shopify   |
| [**category = Transaction**](/data-dictionary/measures-and-dimensions) | Filter for entries categorized as transaction costs |

| Metadata        |                             |
| --------------- | --------------------------- |
| **Type**        | Currency                    |
| **Data Source** | [Shopify](/sources/shopify) |
| **Aggregation** | Sum                         |

***

## Example

Your store had **\$1,247** in other transaction costs this month across 892 orders:

| Cost Type                | Amount | Per Order |
| ------------------------ | ------ | --------- |
| Currency conversion fees | \$523  | \$0.59    |
| Cross-border processing  | \$412  | \$0.46    |
| Chargeback fees          | \$312  | \$0.35    |

***

## How It Works

Other Transaction Cost sums custom transaction-related expenses you've added to order cost entries with the Transaction category. These fees are separate from standard gateway processing fees and typically include currency conversion, cross-border charges, or specialized payment method costs.

***

## When to Use

| Scenario                 | Action                                               |
| ------------------------ | ---------------------------------------------------- |
| Track non-gateway fees   | Monitor currency conversion and cross-border costs   |
| Calculate true CM2       | Include all transaction costs in contribution margin |
| Audit payment expenses   | Identify hidden costs beyond standard gateway fees   |
| Optimize payment methods | Compare total cost of different payment options      |

***

## Related Metrics

| Metric                                                                                                                       | Relationship                                                         |
| ---------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------- |
| [Gateway Cost](/reference/metrics/orders/transaction/gateway-cost)                                                           | Standard payment gateway fees (this metric captures additional fees) |
| [Total Transaction Cost](/reference/metrics/orders/transaction/total-transaction-cost)                                       | Gateway Cost + Other Transaction Cost                                |
| [New Customer Other Transaction Cost](/reference/metrics/orders/transaction/new-customer-other-transaction-cost)             | This metric filtered to new customers                                |
| [Returning Customer Other Transaction Cost](/reference/metrics/orders/transaction/returning-customer-other-transaction-cost) | This metric filtered to returning customers                          |

[See all Transaction Cost metrics →](/reference/metrics/orders/transaction)
