Skip to content
Projects & Experiments

Part 9 - Understanding Ecommerce Transaction Fees and Profit Margins

Learn how transaction fees, refunds, chargebacks, currency conversion, and payout costs affect ecommerce pricing and profit margins.

CodingBowl··12 min read
Photo by Kelly Sikkema on Unsplash
BusinessEcommerceFastAPIHitPayMobile AppReact NativeStripeTypeScript

Understanding Ecommerce Transaction Fees and Profit Margins

An ecommerce sale is not profitable merely because the customer pays more than the product cost. Payment processing, shipping, packaging, refunds, promotions, and currency conversion can all reduce the amount that remains for the business.

This article is a business guide for the MugMori example. It uses illustrative numbers only. Stripe and HitPay fees depend on the merchant account, country, currency, payment method, contract, and current provider pricing. Verify the current Singapore fee pages before using any rate in a pricing decision.

What is a transaction fee?

A transaction fee is a cost associated with accepting a customer payment. It may be calculated as a percentage of the payment amount, a fixed amount per transaction, or a combination of both.

Cost type What it means Why it matters
Percentage fee A percentage of the payment amount The cost grows as the order value grows
Fixed fee A fixed amount charged per payment Small orders can lose a larger share of revenue
Payment-method fee A different cost for a card, bank method, or wallet The cheapest customer method may not have the cheapest fee
Currency-conversion fee A charge or spread when currencies are converted International orders can have lower margins
Refund cost The cost or unrecovered fee associated with returning money Refund-heavy products need extra margin
Chargeback cost A dispute-related fee or lost revenue Fraud and weak evidence can become expensive
Payout cost A cost for moving provider balance to a bank account Settlement and payout are separate events

Do not assume that a provider's headline rate applies to every method or account. Treat provider documentation and the merchant dashboard as the source of truth.

The basic order-profit formula

Start with the amount the customer pays, then subtract every cost that belongs to the order:

net order contribution = customer payment
                       - product cost
                       - packaging cost
                       - shipping subsidy
                       - transaction fee
                       - payment-method fee
                       - discount
                       - expected refund and dispute cost

This is an order contribution, not the same thing as final company profit. Rent, salaries, software, marketing, tax, and other overhead still need to be paid from the contribution.

Percentage plus fixed-fee example

The following numbers are illustrative and are not a Stripe or HitPay quotation.

Item Example amount
Customer payment S$40.00
Product and packaging cost -S$14.00
Shipping subsidy -S$4.00
Illustrative provider rate 3.00% + S$0.50
Illustrative transaction fee -S$1.70
Order contribution S$20.30

The illustrative fee is calculated as (S$40.00 × 3.00%) + S$0.50 = S$1.70. A real calculation must use the rate for the actual merchant account and payment method.

Why order value changes the effective fee

The fixed component becomes more significant for smaller orders.

Customer payment Illustrative fee at 3.00% + S$0.50 Effective fee rate
S$10.00 S$0.80 8.00%
S$40.00 S$1.70 4.25%
S$100.00 S$3.50 3.50%

This is one reason merchants may use bundles, minimum order values, or free-shipping thresholds. The goal is not to hide the fee; it is to make the order economics sustainable.

Who pays the transaction fee?

The provider charges the merchant, but the business decides how the cost appears in its pricing model.

Pricing approach Customer sees Business trade-off
Absorb the fee One simple product price The merchant accepts a lower margin
Build it into the price A slightly higher product price Easier checkout and predictable margin
Add a disclosed surcharge A separate fee at checkout More transparent calculation but may reduce conversion
Set a minimum order A minimum basket value Helps fixed fees become a smaller percentage
Use bundles A combined product offer Can improve average order value and reduce fee impact

Before adding a payment surcharge, check consumer-protection rules, card-network rules, local regulations, and the provider's terms.

Published Singapore online-payment rates

The following published rates were checked on 20 November 2026. They are standard public rates for Singapore accounts, not a quote for every merchant. Confirm the merchant account's pricing agreement, applicable taxes, payment-method eligibility, and current provider page before launch.

Provider and method Published online rate Example fee on S$40 Important notes
Stripe domestic cards 3.4% + S$0.50 S$1.86 Cards pricing also applies to Apple Pay and Google Pay.
Stripe PayNow 1.3% S$0.52 Per successful PayNow transfer.
Stripe GrabPay 3.3% S$1.32 Wallet availability and terms are account-dependent.
Stripe international cards Domestic card rate + 0.5% S$2.06 Additional cross-border card fee.
Stripe currency conversion Additional 2% Depends on conversion Applies when currency conversion is required.
HitPay domestic cards 2.8% + S$0.50 S$1.62 Online Visa, Mastercard, American Express, Apple Pay, and Google Pay.
HitPay PayNow, below S$100 0.9%, minimum S$0.20 S$0.36 Applies to the S$40 example.
HitPay PayNow, S$100 and above 0.65% + S$0.30 Not applicable The threshold changes the calculation.
HitPay GrabPay 3% S$1.20 Online rate.
HitPay ShopeePay 3% S$1.20 Online rate.
HitPay international cards 3.65% + S$0.50 S$1.96 A 2% additional fee applies to foreign-currency transactions.

Stripe's Singapore pricing lists no setup or monthly fee on standard pricing, a S$15 dispute fee, and explains that original processing and currency-conversion fees are generally not returned on refunds. HitPay's Singapore pricing lists no setup or monthly fee, no extra processing fee for refunds, and separate rates for online and in-person payments.

For a S$40 domestic-card order, the published processing comparison is Stripe S$1.86 versus HitPay S$1.62 before tax, discounts, refunds, disputes, or other costs. For a S$40 PayNow order, Stripe is S$0.52 while HitPay is S$0.36 under HitPay's below-S$100 rule. These examples compare processing fees only; they do not decide which provider is better for every business.

Stripe and HitPay comparison questions

Question Why ask it?
Is the fee percentage or percentage-plus-fixed? Determines the cost of small and large orders
Does the fee vary by payment method? PayNow, cards, wallets, and BNPL may have different economics
Is the fee different for international cards? Cross-border orders may reduce margin
Is currency conversion involved? A conversion cost can apply even when the order succeeds
Is the original processing fee returned on refund? A refund may not restore the full original cost
What happens during a chargeback? The business may lose revenue and pay a dispute fee
When are funds settled and paid out? Cash flow depends on timing, not just order volume
Are account or payout fees applicable? Fixed platform costs affect smaller businesses more

Compare the complete fee schedule, not only the advertised card rate. The available methods and rates can depend on the merchant's location, account approval, currency, risk profile, and activated products.

Gross margin versus net margin

Measure Formula What it tells you
Gross margin (sales - product cost) ÷ sales Product economics before operating costs
Contribution margin (sales - variable order costs) ÷ sales Whether each order helps fund the business
Net margin net profit ÷ sales What remains after all business expenses

For MugMori, transaction fees belong in variable order costs. A product can have a healthy gross margin but a weak contribution margin after shipping, discounts, provider fees, refunds, and marketing.

Practical pricing checklist

Before publishing a price, answer these questions:

  1. What does one unit cost to make or buy?
  2. What does packaging cost?
  3. Who pays for shipping?
  4. What discount or promotion is likely to be used?
  5. Which payment methods will customers use?
  6. What current Stripe or HitPay fee applies to each method?
  7. How much refund, dispute, and failed-payment loss should be reserved?
  8. Does the resulting contribution support the business's overhead?

The right price is not the lowest price. It is a price that customers understand and that leaves enough contribution to deliver the product, support the customer, and keep the business viable.

MugMori series

Part Article
Part 1 Part 1 - React Native with TypeScript and React Native Paper: Start MugMori
Part 2 Part 2 - Build a Cute Cup Product Catalog with React Native Paper
Part 3 Part 3 - Add Product Details, Favorites, and a Cart to React Native
Part 4 Part 4 - Build a Consumer Checkout Flow with React Native Paper
Part 5 Part 5 - Connect a React Native Cup Shop to a FastAPI Backend
Part 6 Part 6 - Integrate Stripe Payments with React Native and FastAPI
Part 7 Part 7 - Integrate HitPay Payments with React Native and FastAPI
Part 8 Part 8 - Business Models, Merchant Payments, and Stripe or HitPay Integration
Part 9 Part 9 - Understanding Ecommerce Transaction Fees and Profit Margins
Part 10 Part 10 - Merchant Account Setup for B2C and B2B Payments