Stripe decline code · By Hanzalah Seikhai, Stripe developer

Stripe transaction_not_allowed: online, international and recurring blocks

transaction_not_allowed means: The bank does not allow this kind of transaction on this card.

Retry? No, customer must contact bank.

Why it happens

  • The card is not enabled for this type of purchase, for example online, international or recurring payments.

What to do

  • Ask the customer to enable online or international payments in their banking app, or use another card.
  • If most of these come from one country, offer a local payment method that Stripe supports there.

Where to find the code

In the Stripe Dashboard, open the failed payment and read the decline reason. In code, the error from the API has decline_code next to code: card_declined. Some errors also carry an advice_code that says whether a retry can work.


If declines like this are hurting your conversions, I find the cause in your integration and fix it as a fixed-price job. Hire me on Upwork or send the error. All codes are on the Stripe decline codes page.

Other decline codes