Skip to main content
Total payment gateway fees for orders placed by returning customers.

Formula

Returning Customer Gateway Cost = SUM ( Gateway Cost ) WHERE customer_type = returning_customer

Formula Components

MetricDefinition
Gateway CostPayment gateway processing fees including flat fees and percentage-based fees
customer_type = returning_customerFilter to include only repeat purchasers
Metadata
TypeCurrency
Data SourceShopify
AggregationSum

Example

Your store processed $2,089 in gateway fees from returning customers in January:
Customer TypeOrdersGateway CostAvg per Order
Returning Customers835$2,089$2.50
New Customers412$1,247$3.03
Returning customers have lower per-order gateway costs due to higher average order values and repeat purchase patterns.

How It Works

This metric sums all payment gateway processing fees—including percentage-based fees and flat per-transaction charges—for orders placed by returning customers. Shopify identifies returning customers as those who have at least one prior order in your store history.

When to Use

ScenarioAction
Retention economicsEvaluate profitability of repeat buyers including transaction costs
LTV refinementInclude returning customer transaction costs in lifetime value models
Segment comparisonCompare gateway costs between new and returning customers
CM2 calculationFactor transaction costs into contribution margin by segment

MetricRelationship
Gateway CostParent metric (all customers combined)
New Customer Gateway CostSame metric for first-time buyers
Total Transaction CostIncludes gateway plus other transaction fees
Returning Customer RevenueRevenue side of returning customer economics
See all Transaction Cost metrics →