do_not_honor
Stripe's decline code table says the card was declined for an unknown reason. The issuer refused the payment and gave no reason.
What you see in Stripe
The decline code is on the PaymentIntent, in last_payment_error. The details of the attempt are on the Charge. Abridged, example values:
{
"id": "pi_example",
"object": "payment_intent",
"last_payment_error": {
"charge": "ch_example",
"decline_code": "do_not_honor",
"network_advice_code": "01",
"network_decline_code": "05"
}
}{
"id": "ch_example",
"object": "charge",
"payment_intent": "pi_example",
"outcome": {
"network_status": "declined_by_network",
"type": "issuer_declined",
"network_advice_code": "01",
"network_decline_code": "05"
},
"payment_method_details": {
"type": "card",
"card": {
"funding": "credit",
"brand": "visa",
"country": "US"
}
}
}The Charge has no top-level decline_code: read it from last_payment_error on the PaymentIntent. Every field shown can be null or absent. Stripe says issuers sometimes give a specific reason, which shows as the decline code, and that most declines come back as generic_decline. outcome.network_advice_code and outcome.network_decline_code appear only when the network declined, and are null when Stripe got no network response. What a network code means depends on the card brand. card.funding can be unknown.
Fields as documented in the Stripe API reference: PaymentIntent, Charge.
Why it happens on a subscription
A subscription charges the same card every cycle, so a refusal can have a cause outside the payment itself. These are possibilities, and the code alone cannot tell them apart.
- The issuer's own risk rules flagged the charge.
- The card is a company or virtual card, the kind issued by spend-management products, with a per-merchant or monthly limit that was reached or that was set to block this merchant.
- The card was issued to a person who has left the customer's company, and it was cancelled.
- The cardholder replaced the card, and the old one no longer works.
The clues are card.funding (credit, debit, prepaid or unknown) and the pattern across the customer's earlier charges. A card that paid for several cycles and then failed is a different case from one refused on its first charge. Neither tells you the cause on its own.
Should you retry
Hard decline. Stripe's documented next step is that the customer contacts their card issuer. When present, outcome.advice_code (confirm_card_data, do_not_try_again or try_again_later) and network_advice_code give the issuer's or network's guidance on how to proceed.
Repeating the identical charge against an issuer refusal is unlikely to help. Stripe's card-declines page says card networks limit how often a single charge can be reattempted, recommends a maximum of eight retries for charges that permit them, and says issuers might see extra retries as potential fraud, which can increase declines for legitimate charges. Stripe: card declines.
- Ask the customer to contact their card issuer.
- Offer a way to update to a different card.
- Avoid repeated identical retries on the same card.
Say the bank declined the payment and suggest they contact their bank or use another card.
The customer should contact their card issuer or provide another card.
How Thaw treats it
Thaw classes this code as hard. It plans up to three card-update emails over nine days instead of waiting for a retry, and it does not repeat the identical charge. If looking up the decline code from Stripe failed and still cannot be answered when an action is due, Thaw defers that action and sends nothing for it until the lookup answers.
What Thaw does not do
Handling that tells a company-card limit lock or a departed cardholder apart, and that passes the problem to another active user in the same account, is planned, not built. Today Thaw treats every do_not_honor the same way.
Sign in with an email link, then connect Stripe to get Thaw's free audit of your account. It only reads; nothing sends until you activate.
Sign in to connect StripeSource: Stripe docs: decline codes. Sample audit.