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
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.
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.
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 }, });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.
- $950Stripe Billing Fix and SetupSubscriptions, webhooks, customer portal and failed payments set up or fixed, tested in Stripe test mode.See scope and start
- from $450App Fix TicketOne reproducible bug in an existing mobile or web app, diagnosed and fixed.See scope and start
- from $450AI-Built App RescueA Lovable, Bolt or Cursor app checked end to end in 3 days, then its worst problems fixed at a fixed price.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.See scope and start
“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.”
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