> ## 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.

# Returning Customer Other Transaction Cost: Custom Fees for Repeat Buyers

> Track user-defined transaction costs from order cost entries for returning customer orders. Analyze custom processing fees and interchange expenses affecting repeat buyer profitability.

<Tip>
  The total user-defined transaction costs from order cost entries for returning customer orders.
</Tip>

## Formula

<Info>
  **Returning Customer Other Transaction Cost** = **SUM** ( [**Other Transaction Cost**](/reference/metrics/orders/transaction/other-transaction-cost) ) **WHERE** [customer\_type = returning\_customer](/data-dictionary/measures-and-dimensions)
</Info>

### Formula Components

| Metric                                                                                     | Definition                                                                      |
| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------- |
| [**Other Transaction Cost**](/reference/metrics/orders/transaction/other-transaction-cost) | User-defined transaction costs from order cost entries                          |
| [**customer\_type = returning\_customer**](/data-dictionary/measures-and-dimensions)       | Filter to orders placed by customers with at least one prior completed purchase |

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

***

## Example

Your store incurred **\$2,856** in custom transaction costs for returning customer orders in March:

| Week   | RC Other Transaction Cost | RC Orders | Cost/Order |
| ------ | ------------------------- | --------- | ---------- |
| Week 1 | \$687                     | 342       | \$2.01     |
| Week 2 | \$724                     | 368       | \$1.97     |
| Week 3 | \$698                     | 351       | \$1.99     |
| Week 4 | \$747                     | 376       | \$1.99     |

Consistent per-order costs indicate stable payment method preferences among returning customers.

***

## How It Works

This metric sums all user-defined transaction costs from order cost entries specifically for returning customer orders. A customer is classified as "returning" when they have at least one prior completed order in Shopify. These costs are distinct from gateway fees and typically include interchange markups, currency conversion charges, or custom payment processing fees you've defined in your order cost configuration.

***

## When to Use

| Scenario                          | Action                                                             |
| --------------------------------- | ------------------------------------------------------------------ |
| Analyzing retention profitability | Include in contribution margin calculations for repeat buyers      |
| Comparing payment costs           | Benchmark new vs. returning customer transaction costs             |
| Margin optimization               | Identify if payment method preferences differ by customer type     |
| LTV analysis                      | Factor transaction costs into customer lifetime value calculations |

***

## Related Metrics

| Metric                                                                                                           | Relationship                                            |
| ---------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------- |
| [New Customer Other Transaction Cost](/reference/metrics/orders/transaction/new-customer-other-transaction-cost) | Compare new vs. returning customer costs                |
| [Returning Customer Gateway Cost](/reference/metrics/orders/transaction/returning-customer-gateway-cost)         | Primary payment processing fees for returning customers |
| [Other Transaction Cost](/reference/metrics/orders/transaction/other-transaction-cost)                           | Total other transaction costs across all customers      |
| [Total Transaction Cost](/reference/metrics/orders/transaction/total-transaction-cost)                           | Combined gateway and other transaction fees             |

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