Transaction not allowed — The card type doesn't permit this kind of transaction (e.g. recurring charges on a one-time-use card).
Usually a configuration issue at the issuer.
| Retry strategy | Don't retry |
|---|---|
| Customer-facing action | Send a card-update flow |
| Recovery rate (retry only) | ~5% |
| Recovery rate (with customer flow) | ~50% |
Email the customer that their card type may not support recurring billing; suggest a different card.
The recommended Stripe Customer Portal session for the recovery flow:
session = stripe.billing_portal.Session.create(
customer=customer_id,
return_url="https://yourapp.com/billing/thanks",
flow_data={"type": "payment_method_update"},
)
update_link = session.url
transaction_not_allowed is one of dozens of decline codes Stripe returns; recovery rates vary by code by 5x or more. The recovery-rate reference covers the full set; the card-update flow article covers the customer-facing side; dunning emails covers how to write the messages.
DunningKit's open-source CLI parses your Stripe failed-charges CSV and gives you the breakdown by code, with recoverable-revenue estimates. pip install dunningkit.