Skip to content

· 15 min read · Nadeera Silva

Payments

Stripe: You Cannot Combine Currencies on a Single Customer

Why Stripe blocks a new subscription in a second currency, how to find the object pinning the customer, and three tested ways to fix it in Node.

A hand holds a teal glass token over a small walnut box already filled with amber tokens, next to an empty second box, standing for a Stripe customer locked to one currency.

Your server calls Stripe to start a subscription for a customer who already paid you once, and it fails with "You cannot combine currencies on a single customer. This customer has an active subscription, subscription schedule, discount, quote, invoice item or active subscription mode checkout session with currency cad." This is Stripe's single-currency rule for billing. The customer still has something live in one currency (CAD here), and you asked for another. It usually shows up when a SaaS adds a second currency to its pricing page, or a user moves country and picks the local plan. Below I show how to find what is pinning the customer and three ways to fix it in Node.

Quick answer

Stripe lets one customer hold live billing objects in only one currency at a time. Cancel or clear everything still open in the old currency (subscriptions that are not canceled, active schedules, a customer discount, draft or open quotes, pending invoice items and open subscription-mode Checkout Sessions) and the new-currency subscription will go through. If the person needs both currencies at once, create a second Stripe customer for the second currency.

What this means for your app or business

A customer who wants to pay you is turned away at checkout, usually with a generic "something went wrong". Nobody is charged by mistake, but you lose the sale, and a careless manual fix can double-bill: cancel the old plan without accounting for the days already paid and the customer pays twice for the same month.

The fix is small: a developer who knows Stripe Billing can add the check and the switch flow in about a day, plus testing. Get help if many customers are in a mixed state (old plans in one currency, new prices in another), because each needs a decision about credit, renewal dates and taxes before anything is canceled.

Why does Stripe say "you cannot combine currencies on a single customer"?

Stripe's support article on why customers are locked to a currency says there is "still no way to have multiple active Subscriptions or SubscriptionSchedules in separate currencies at the same time on one Customer". A subscription can only be created if it uses the customer's default currency, or the customer has nothing active that locks them to it.

The rule has been relaxed over the years, and that is why old answers disagree with new ones. The 2019 version of the error said the customer "has had a subscription, coupon, or invoice item" in a currency (Stack Overflow, 2019), which meant a permanent lock, and the usual advice was a new customer per currency. Today the wording says "has an active ...", and the multi-currency customers guide says you can create new subscriptions in a different currency for an existing customer, as long as you cancel the existing ones first.

What counts as "active" for the currency lock?

The support article lists the blockers. The current error message adds open subscription-mode Checkout Sessions, which developers hit in 2026 when a buyer abandoned a checkout in one currency and came back in another (shermam/trivia #171).

Blocker on the customerCounts whileHow to clear it
SubscriptionAny status except canceled, including past_due and unpaidCancel it, or wait for cancel_at_period_end to finish
Subscription scheduleStatus not_started or activeCancel the schedule (this also cancels its subscription); releasing it leaves the subscription, which still blocks
Discount on the customerPresent on customer.discountcustomers.deleteDiscount
QuoteStatus draft or openCancel it, or finalize and accept it in the right currency
Invoice itemPending, not yet on an invoiceInvoice it in its own currency, or delete it
Checkout Sessionmode: subscription and status: opencheckout.sessions.expire (by default they expire after 24 hours)

A past_due subscription is the one people miss. Your database may already mark the user as inactive while Stripe still treats the subscription as live. That is exactly what happened in 2anki #5000: a EUR plan stuck in past_due blocked a USD upgrade.

Decision flow for the Stripe error you cannot combine currencies on a single customer: check for active objects in another currency, then switch currency, create a second customer, or keep the customer in their currency
How I decide which fix applies

How do I fix "stripe cannot combine currencies" step by step?

Step 1: list what is blocking the customer

Run this before you create the subscription or the Checkout Session. Every list call uses a real filter from the Stripe API reference: the default subscriptions list already leaves out canceled ones, pending: true on invoice items, status on quotes and Checkout Sessions.

import Stripe from 'stripe';

export type BlockerKind =
  | 'subscription' | 'subscription_schedule' | 'customer_discount'
  | 'quote' | 'pending_invoice_item' | 'checkout_session';

export interface CurrencyBlocker {
  kind: BlockerKind;
  id: string;
  status: string | null;
  currency: string | null; // null when Stripe hasn't fixed one yet
}

// Lists everything on a customer that Stripe says can lock its currency.
export async function findCurrencyBlockers(stripe: Stripe, customer: string) {
  const [cus, subs, schedules, draftQuotes, openQuotes, items, sessions] = await Promise.all([
    stripe.customers.retrieve(customer),
    stripe.subscriptions.list({ customer, limit: 100 }), // default list = not canceled
    stripe.subscriptionSchedules.list({ customer, limit: 100 }),
    stripe.quotes.list({ customer, status: 'draft', limit: 100 }),
    stripe.quotes.list({ customer, status: 'open', limit: 100 }),
    stripe.invoiceItems.list({ customer, pending: true, limit: 100 }),
    stripe.checkout.sessions.list({ customer, status: 'open', limit: 100 }),
  ]);
  if (cus.deleted) throw new Error(`Customer ${customer} is deleted`);

  const blockers: CurrencyBlocker[] = [];
  for (const s of subs.data) {
    if (s.status !== 'canceled') {
      blockers.push({ kind: 'subscription', id: s.id, status: s.status, currency: s.currency });
    }
  }
  for (const sc of schedules.data) {
    if (sc.status === 'not_started' || sc.status === 'active') {
      const phase = sc.phases.find((p) => p.currency) ?? sc.phases[0];
      blockers.push({ kind: 'subscription_schedule', id: sc.id, status: sc.status, currency: phase?.currency ?? null });
    }
  }
  if (cus.discount) {
    blockers.push({ kind: 'customer_discount', id: cus.discount.id, status: null, currency: null });
  }
  for (const q of [...draftQuotes.data, ...openQuotes.data]) {
    blockers.push({ kind: 'quote', id: q.id, status: q.status, currency: q.currency });
  }
  for (const ii of items.data) {
    blockers.push({ kind: 'pending_invoice_item', id: ii.id, status: 'pending', currency: ii.currency });
  }
  for (const cs of sessions.data) {
    if (cs.mode === 'subscription' && cs.status === 'open') {
      blockers.push({ kind: 'checkout_session', id: cs.id, status: cs.status, currency: cs.currency });
    }
  }
  const pages = [subs, schedules, draftQuotes, openQuotes, items, sessions];
  return {
    customerCurrency: cus.currency ?? null,
    blockers,
    truncated: pages.some((p) => p.has_more), // more than 100 of something: page further
  };
}

// The blockers that stop a new subscription in `currency`.
// Unknown currency (null) counts as blocking, to be safe.
export function blockersFor(currency: string, blockers: CurrencyBlocker[]) {
  const want = currency.toLowerCase();
  return blockers.filter((b) => b.currency === null || b.currency.toLowerCase() !== want);
}

Log the result when the error happens. The error message never says which object is the problem; this does.

Step 2, option A: switch the same customer to a new currency

Use this when the person is moving from one currency to another and does not need both. The old plan ends now, and the new one starts on the old renewal date with proration_behavior: 'none', which Stripe's billing cycle docs describe as making the period up to the first full invoice free. The customer has already paid for those days in the old currency, so nobody pays twice.

import Stripe from 'stripe';
import { findCurrencyBlockers, blockersFor } from './currencyBlockers.js';

interface SwitchInput {
  customer: string;
  oldSubscription: string;
  newPrice: string;   // recurring price in the new currency, or one with currency_options
  currency: string;   // e.g. 'eur'
  clearCheckoutSessions?: boolean; // expire open subscription-mode sessions (default true)
}

// Option A: same customer, new currency. Ends the old subscription now,
// then starts the new one on the old renewal date so nobody pays twice.
export async function switchSubscriptionCurrency(stripe: Stripe, input: SwitchInput) {
  const old = await stripe.subscriptions.retrieve(input.oldSubscription);
  const renewsAt = Math.max(...old.items.data.map((i) => i.current_period_end));

  if (old.status !== 'canceled') {
    if (old.schedule) {
      // A schedule would recreate phases; cancelling it also cancels its subscription.
      const id = typeof old.schedule === 'string' ? old.schedule : old.schedule.id;
      await stripe.subscriptionSchedules.cancel(id, { invoice_now: false, prorate: false });
    } else {
      await stripe.subscriptions.cancel(old.id, { invoice_now: false, prorate: false });
    }
  }

  const { blockers } = await findCurrencyBlockers(stripe, input.customer);
  const left = blockersFor(input.currency, blockers);
  for (const b of left) {
    if (b.kind === 'checkout_session' && input.clearCheckoutSessions !== false) {
      await stripe.checkout.sessions.expire(b.id);
    }
  }
  const stillBlocked = left.filter(
    (b) => !(b.kind === 'checkout_session' && input.clearCheckoutSessions !== false),
  );
  if (stillBlocked.length > 0) {
    // Quotes, discounts and pending invoice items carry money decisions: don't delete them silently.
    throw new Error('Clear these first: ' + stillBlocked.map((b) => `${b.kind} ${b.id}`).join(', '));
  }

  const now = Math.floor(Date.now() / 1000);
  return stripe.subscriptions.create(
    {
      customer: input.customer,
      items: [{ price: input.newPrice }],
      currency: input.currency,
      // Carry over a payment method set on the old subscription (else the customer's default is used).
      ...(old.default_payment_method
        ? { default_payment_method: typeof old.default_payment_method === 'string'
            ? old.default_payment_method : old.default_payment_method.id }
        : {}),
      ...(renewsAt > now
        ? { billing_cycle_anchor: renewsAt, proration_behavior: 'none' as const }
        : {}),
      metadata: { replaces: old.id },
    },
    { idempotencyKey: `switch-${old.id}-${input.currency}` },
  );
}

A few notes on this flow:

  • Since API version 2025-03-31.basil, current_period_end lives on subscription items, not on the subscription, so the code reads it from items.data.
  • Stripe rejects an anchor later than the new price's next natural billing date ("billing_cycle_anchor cannot be later than next natural billing date", see stripe-java #454). If the old plan was yearly and the new one is monthly, set trial_end to the old renewal date instead.
  • If you would rather let the customer keep the old plan until it ends, set cancel_at_period_end: true and create the new subscription when the customer.subscription.deleted webhook arrives. Until then, the old subscription still blocks the new currency. My post on Stripe webhook signature verification in Next.js covers receiving that event safely.

Step 2, option B: one Stripe customer per currency

Use this when the same person needs live subscriptions in two currencies, for example two workspaces billed separately. Stripe's support article suggests this: collect card details again and create a separate customer. Keep the mapping in your own database rather than searching Stripe each time.

import Stripe from 'stripe';

// Your own table: (appUserId, currency) -> Stripe customer ID.
export interface CustomerStore {
  get(appUserId: string, currency: string): Promise<string | null>;
  set(appUserId: string, currency: string, customerId: string): Promise<void>;
}

// Option B: one Stripe customer per user per currency.
export async function customerFor(
  stripe: Stripe, store: CustomerStore,
  user: { id: string; email: string; name?: string }, currency: string,
) {
  const cur = currency.toLowerCase();
  const existing = await store.get(user.id, cur);
  if (existing) return existing;
  const created = await stripe.customers.create(
    { email: user.email, name: user.name, metadata: { app_user_id: user.id, billing_currency: cur } },
    { idempotencyKey: `customer-${user.id}-${cur}` },
  );
  await store.set(user.id, cur, created.id);
  return created.id;
}

The cost is reporting: one person now has two customers and two invoice histories, so show both on your account page.

Step 2, option C: keep each customer in their currency

Most of the time the real fix is to stop asking for a different currency. Stripe's manual currency prices guide lets one Price carry currency_options for every currency you sell in. You then pass currency on the Checkout Session or the subscription. Read customer.currency for returning customers and pass that. The function below also turns the conflict into a clear error your UI can explain.

import Stripe from 'stripe';
import { currencyConflict } from './currencyErrors.js';

// Option C: one Price with currency_options; pin the currency the pricing page showed.
// If the customer is locked to another currency, say so instead of a generic 500.
export async function subscriptionCheckout(
  stripe: Stripe,
  args: { customer: string; price: string; currency: string; successUrl: string; cancelUrl: string },
) {
  try {
    return await stripe.checkout.sessions.create({
      mode: 'subscription',
      customer: args.customer,
      currency: args.currency,
      line_items: [{ price: args.price, quantity: 1 }],
      success_url: args.successUrl,
      cancel_url: args.cancelUrl,
    });
  } catch (err) {
    const conflict = currencyConflict(err);
    if (!conflict) throw err;
    throw new CurrencyLockedError(args.customer, conflict.lockedCurrency, args.currency);
  }
}

export class CurrencyLockedError extends Error {
  constructor(public customer: string, public locked: string | null, public wanted: string) {
    super(`Customer ${customer} is billed in ${locked ?? 'another currency'}; cannot start a ${wanted} subscription yet`);
  }
}

Adaptive Pricing is the other route. Checkout shows a converted local amount, but the Checkout Session and PaymentIntents stay in your price's currency, and the local currency appears only in presentment_details. Rallly saw the subscription and invoices stay in USD while the buyer saw CHF. Because the billing currency does not change, Adaptive Pricing should not trigger this error, though I have not confirmed that against a live account. Stripe notes that for cross-border subscriptions Adaptive Pricing supports only cards, Link, Apple Pay and Google Pay.

Detecting the error in code

Stripe's error codes list has no code for this case. The Rallly team saw it come back as invalid_request_error with code: null and param: null, and the message wording has changed at least twice since 2019 (onetimesecret #2536 had to update its regex in February 2026). So match the stable part of the message and read the currency if it is there:

import Stripe from 'stripe';

// Stripe documents no error code for this case; it has arrived with
// type invalid_request_error and code null, so match the message.
const CONFLICT = /cannot combine currencies on a single customer/i;

export function currencyConflict(err: unknown): { lockedCurrency: string | null } | null {
  if (!(err instanceof Stripe.errors.StripeError)) return null;
  if (err.rawType !== 'invalid_request_error') return null;
  if (!CONFLICT.test(err.message)) return null;
  const m = /with currency ([a-z]{3})/i.exec(err.message);
  return { lockedCurrency: m ? m[1].toLowerCase() : null };
}

What happens to the customer's credit balance?

Credit balances are kept per currency. The multi-currency customers guide says a CAD invoice only applies CAD credit, and you can see every currency's balance by retrieving the customer with expand: ['invoice_credit_balance']. So when you switch someone from CAD to EUR, any CAD credit stays on the customer and is not used on the EUR invoices. Refund it, or tell the customer it will apply only if they come back to CAD. Note the sign: the older balance field is negative for credit, while invoice_credit_balance is positive for credit.

How do I verify the fix?

I tested the code with Node's test runner. stripe-mock checked that every request is valid for API version 2026-11-18.endive, but it keeps no state, so it cannot produce this error. A small local fake of the Stripe endpoints enforced the single-currency rule and returned the error body developers have reported. All 13 tests passed:

✔ stripe-mock: all six blocker list calls are valid requests for API 2026-11-18.endive
✔ stripe-mock: cancel (invoice_now/prorate), schedule cancel, session expire, deleteDiscount accept these params
✔ stripe-mock: subscriptions.create with currency, billing_cycle_anchor, proration_behavior none
✔ stripe-mock: Checkout Session in subscription mode with an explicit currency
✔ stripe-mock: customers.retrieve with expand invoice_credit_balance is accepted
✔ fake: reproduces the conflict, and the error has type invalid_request_error with code undefined
✔ error matcher: old 2019 wording also matches; unrelated errors and non-Stripe errors do not
✔ pre-flight: lists every blocker kind with its currency, ignores canceled/expired/payment-mode objects
✔ option A: switch CAD to EUR on the same customer, anchored to the old renewal date
✔ option A: a subscription under a schedule is ended by cancelling the schedule
✔ option A: refuses to delete a pending invoice item or open quote silently
✔ option B: one customer per currency, reused on the second call
✔ option C: Checkout with a pinned currency maps the conflict to CurrencyLockedError
ℹ tests 13
ℹ pass 13
ℹ fail 0

To check against your own Stripe sandbox, create a customer with a CAD subscription, then try a USD one: you should get the error. Run the pre-flight function and you should see one subscription blocker. Run the switch function and the new subscription should come back with currency: 'usd', the old one canceled, and no invoice until the old renewal date.

How do I prevent it?

  • Decide the currency once, from the customer's existing currency if there is one, and pass it everywhere.
  • Run the pre-flight check before every subscription Checkout Session for an existing customer.
  • Expire a customer's open subscription-mode Checkout Sessions before creating a new one.
  • Treat past_due, unpaid and incomplete subscriptions as live in your own database until Stripe says canceled.
  • Use one Price with currency_options instead of separate prices per currency.
  • Map the error to a clear message ("Your account is billed in CAD") instead of a generic failure.

If you build Stripe billing for clients from Sri Lanka, where you get paid through other channels, my PayPal guide for Sri Lankan freelancers covers that side.

Frequently asked questions

What does "You cannot combine currencies on a single customer" mean?

The Stripe customer still has something live in one currency, such as a subscription that is not canceled, an active schedule, a discount, an open quote, a pending invoice item or an open subscription Checkout Session, and you asked for a subscription in another currency. Clear those objects or use a separate customer for the new currency.

Can I combine customers in Stripe?

Not directly. I have not found a customer merge endpoint in Stripe's API reference, and one customer cannot hold active subscriptions in two currencies at once. If a person needs two currencies at the same time, keep two customers and link them to the same user in your own database.

Can a Stripe customer have subscriptions in two currencies?

Not at the same time. Stripe's multi-currency customers guide allows a new subscription in a different currency only after the existing subscriptions in the old currency are canceled.

Can I change a Stripe customer's currency?

The currency field on the customer cannot be changed once it is set. You can still bill the customer in another currency after cancelling or clearing everything active in the old one, or you can create a new customer.

Does a past_due subscription block a new currency?

Yes. Stripe treats any subscription that is not canceled as active for this rule, so past_due, unpaid and incomplete subscriptions still lock the customer's currency until you cancel them.

What error code does Stripe return for this error?

Stripe does not document a specific code for it. Developers report it as an invalid_request_error with code and param set to null, so match on the message text.

What happens to a customer's credit balance when they change currency?

Stripe keeps credit balances per currency. Credit in the old currency is not applied to invoices in the new currency, so refund it or keep it for if the customer returns to that currency.

Does Adaptive Pricing cause the combine currencies error?

It should not, because with Adaptive Pricing the Checkout Session and subscription stay in your price's currency and only the amount shown to the buyer is converted.

Sources

  1. Why are customers locked to a specific currency and can not be moved to a price in another currency (Stripe Support)
  2. Multi-currency customers (Stripe)
  3. Manage customers (Billing): set the currency for a customer (Stripe)
  4. Error codes (Stripe)
  5. Manual currency prices (currency_options) (Stripe)
  6. Manage prices: multi-currency prices (Stripe)
  7. Adaptive Pricing (Stripe)
  8. Billing cycle (billing_cycle_anchor, proration_behavior none) (Stripe)
  9. Cancel a subscription (invoice_now, prorate) (Stripe)
  10. List Checkout Sessions (status filter) (Stripe)
  11. List invoice items (pending filter) (Stripe)
  12. Customer object (currency, discount, invoice_credit_balance) (Stripe)
  13. Basil: subscription item-level billing periods (Stripe, 2025-03-31)
  14. stripe-node changelog (23.2.0, API 2026-11-18.endive) (Stripe on GitHub, 2026-11-18)
  15. Pin checkout to the pay wall currency (Rallly PR #3579) (GitHub, 2026-10-20)
  16. Expire the customer's stale open sessions before creating a new one (trivia PR #171) (GitHub, 2026-09-12)
  17. Pro checkout fails when the customer still has a past-due Stripe subscription (2anki #5000) (GitHub, 2026-10-26)
  18. Fix currency conflict regex to match Stripe's current error format (onetimesecret #2536) (GitHub, 2026-02-18)
  19. How to handle Stripe subscriptions based on currency? (Stack Overflow, 2019-04-10)
  20. billing_cycle_anchor cannot be later than next natural billing date (stripe-java #454) (GitHub)
SharePost on XLinkedIn

Comments

Share a question or note about this article.

Loading comments…