Skip to content

Transaction not allowed: what it means and what to do

The card was declined for an unknown reason, and Stripe lists the code as a hard decline. What Stripe says and what Dunity does.

Checked against Stripe’s docs 28 November 2026

Stripe code
transaction_not_allowed
Stripe hard decline
YesOn Stripe’s hard-decline list, so Stripe can’t retry it without a new payment method.
Dunity’s first retry
24 hours laterThe first retry still runs, to confirm the card still declines this way.
In your dashboard
Other

What it means

Stripe returns transaction_not_allowed when the card was declined for an unknown reason.

Stripe’s next step for it is that the customer contacts their card issuer for more information.

From Stripe’s decline codes and card declines docs.

Should you retry it?

It is on Stripe’s list of hard declines. Stripe can’t retry it automatically without a new payment method: its scheduled retries carry on, but a charge is only made once there is one.

From Stripe’s Smart Retries and card declines docs.

What to do about it

What the customer needs to do

  • Contact their card issuer for more information, which is Stripe’s advice for this code.
  • Or add a different card.

What you can do

  • Don’t guess at a cause for the customer. Stripe gives the reason as unknown.
  • Give them a page where they can add another card.

What Dunity does

  • Dunity records the decline code and emails your customer once. The default email says only that the payment didn’t go through and links to a page to update their card. None of its merge tags carries the decline reason, so Dunity never adds it.
  • Dunity stops retrying as soon as a retry comes back with a hard decline like this one. Once Stripe’s own retries are done, its first retry still runs (24 hours after the failure by default) unless Stripe’s retries have already used the eight in total, and if that one fails this way the payment is marked Failed and no more attempts are made. The link in your email still works for the customer.
  • The dashboard has no group of its own for it, so it shows under “Other”.

What Dunity does is read from its code, not assumed. The whole flow is on how Dunity works, and every code is on the decline codes hub.

Transaction not allowed questions

What people ask about this code.

What does transaction_not_allowed mean?

Stripe returns it when the card was declined for an unknown reason. The next step Stripe gives is for the customer to contact their card issuer for more information.

Can a transaction_not_allowed decline be retried?

Not automatically on the same payment method: Stripe lists it as a hard decline. Dunity stops retrying after the first retry that comes back this way.

Dunity is free until it recovers 3 payments.

Connect Stripe with a restricted key. Cancel anytime.