Skip to content

Stripe Payments errorStripe: payment_method_unactivated

payment_method_unactivated is the Stripe error for a payment that uses a method the account has not activated, for example a bank debit or buy-now-pay-later method. The code asks for it, and the account settings say no.

Short answer

Turn the payment method on in the Dashboard payment methods settings, in the same mode (test or live) and on the same account the code uses. Better still, stop listing payment_method_types in code and let the Dashboard decide which methods show, so the two can’t drift apart.

Rather not fix it yourself? Stripe Billing Fix and Setup handles it at a fixed price, agreed before work starts.

Why the payment method is not active, and the fix

  1. 01

    The method is listed in code but off in the Dashboard

    “The operation can’t be performed because the payment method used hasn’t been activated. Activate the payment method in the Dashboard, then try again.” Stripe, Error codes (payment_method_unactivated)

    Hard-coded payment_method_types such as klarna or us_bank_account can return this error if that method isn’t activated for the account. Turn it on in the Dashboard, then retry.

  2. 02

    It is on in one mode, not the other

    Check the Dashboard payment methods settings in both test and live mode, and confirm the method is on in the mode your code is using. Do this before launch, not after the first failed live payment.

  3. 03

    Code and Dashboard drift apart

    “A customer sees only payment methods that are turned on and compatible with the payment location and currency.” Stripe, Payment method configurations

    Leave payment_method_types out and Stripe shows the methods turned on in the Dashboard. That also hides methods that do not fit the customer’s location or currency.

    // Let the Dashboard settings choose the payment methods
    const paymentIntent = await stripe.paymentIntents.create({
      amount: 5000,
      currency: 'usd',
      automatic_payment_methods: { enabled: true },
    });
  4. 04

    A Connect account has its own settings

    Also check: on a Connect platform, the payment methods a connected account can use are managed separately from your own account. Check the settings for that connected account.

Checked against the vendor’s docs on : Stripe docs: Error codes; Stripe docs: Payment method configurations.

Rather hand it over?

Fixed scope, fixed price, paid upfront. The work happens in writing; no call needed.

“Working with Simon makes everything run so smoothly and better than I could ask for it. Amazingly communicative, extremely knowledgeable of coding and the backend processes. I strongly recommend.”
A buyer in the United States, January 2026. App development on Fiverr
All 127 Fiverr reviews

Related: Stripe Apple Pay or Google Pay not showing · Stripe works in test mode, not live · Stripe currency not supported · Stripe no default payment method

Questions

More on this error

Does the customer see this error?

Not unless your app shows the API error to them, but the payment fails either way. The fix is on your side: turn the method on, or stop offering it.

Why does it work in test mode?

Check the mode: one possible reason is that the method was turned on only while testing. Confirm it is on for live payments too.

Can you fix it for me?

If one bug is the whole problem, the App Fix Ticket covers it: a written diagnosis first, then the fix. If the app has more going on, the Launch Check is a written check of the whole app. Each issue found is rated critical, high, medium or low, with where it is and how it was confirmed. No issues worth fixing, no charge. If the Launch Check finds nothing rated medium or higher, Simon refunds the full $450. You keep the report either way. This applies to the first 10 Launch Checks bought after October 30, 2026.

A different error?

Describe it and get a written quote

Send the error and what you were doing. You get a written scope, a fixed price and a timeline; Simon replies by email, usually within one business day.