Articles on: Troubleshooting

Understanding billing attempt failures

When a subscription renews, Shopify makes a billing attempt — it tries to charge the customer's saved payment method. If that charge doesn't go through, the attempt fails. This guide explains every type of billing-attempt failure, what each one means, who can fix it, and what the app does automatically.


Table of contents



Where you see billing errors



What happens automatically when an attempt fails


You don't have to catch failures manually — the app runs dunning (automatic retries) based on your Dunning settings:


  1. Retry — the app schedules another billing attempt after your chosen wait time, up to your chosen number of billing attempts. On each failed attempt, the customer and you receive a renewal-failed email (the wording depends on whether it's a customer-fixable error).
  2. When all retries are used up, your Failure action decides what happens:
  • Fail subscription contract — the subscription is marked Failed (customer gets "Your subscription has failed").
  • Pause subscription contract — the subscription is Paused so you can resume it later.
  • Attempt again at next renewal date — this cycle is skipped and the charge is retried on the next scheduled date.


You can adjust how many times to retry, how long to wait between attempts, and the failure action on the Dunning settings page. Renewal-failed emails can be customized or turned off under Notifications.


The four error categories


On the Contracts list, the Last payment error filter groups failures into four categories so you can triage at a glance:


  • Customer error — something on the customer's side (card, funds, billing agreement, address). The customer usually needs to act.
  • Payment error — a store or gateway configuration problem. You usually need to act.
  • Inventory error — a product in the subscription was out of stock at renewal time.
  • Other — anything that doesn't fit the above, including temporary glitches.


The sections below list the specific errors you may see within these categories.


Customer payment and account errors


These usually mean the customer must update their details. Because card information is held by the payment gateway, you can't enter a new card for them — send them their portal link (the Portal login link email) so they can update it themselves.


Error

What it means

How to resolve

Payment method declined

The gateway declined the charge.

Customer updates their payment method.

Card number incorrect

The saved card number is wrong.

Customer updates their payment method.

Payment method expired

The saved card/agreement has expired.

Customer updates their payment method.

Insufficient funds

The customer's account lacks funds.

Contact the customer to top up or update the method.

Invalid payment method

The payment method can't be used.

Customer updates their payment method.

Payment method not found

No usable payment method is on file.

Customer updates their payment method.

Payment method canceled

The customer canceled the saved method.

Customer updates their payment method.

Authentication error

The payment couldn't be authenticated.

Customer updates/re-confirms their payment method.

Invalid customer billing agreement

The (e.g. PayPal) billing agreement is invalid.

Contact the customer to re-authorize.

PayPal error

A general PayPal problem occurred.

Customer updates their payment method.

Payment method incompatible with gateway config

The method doesn't match your gateway setup.

Customer updates their method, or review your gateway.

Invalid shipping address

The subscription's shipping address is invalid.

Update the shipping address on the contract.

Customer invalid / Customer not found

The customer record can't be used.

Check the customer in Shopify admin.

Fraud suspected

The attempt was flagged as potential fraud.

Review the customer before retrying.

Payment challenged

The bank requires the customer to approve the charge (e.g. 3-D Secure).

The customer must approve the payment to continue.


Store and configuration errors


These point to something in your store setup. You resolve these:


Error

What it means

How to resolve

Payment provider not enabled

No subscription-capable gateway is active.

Enable a supported provider in Settings > Payments. See payment gateways.

Amount too small

The renewal total is below the gateway minimum.

Adjust the subscription products/price so the total is billable.

Free gift card not allowed

A free gift card can't be used on a renewal.

Edit the subscription contents.

Purchase type not supported

The renewal's purchase type isn't supported.

Contact support.

Non-test order limit reached

The test-order limit was hit.

Use a test payment gateway, or review payment settings.

Test mode

The attempt ran in test mode — no real charge was made.

Informational; no action needed for live stores.


Inventory errors


The charge was held because stock wasn't available. How renewals behave when items are out of stock is controlled by your Out of stock settings.


Error

What it means

How to resolve

Insufficient inventory

Not enough stock to fulfill the renewal.

Restock, or adjust the subscription items.

Inventory allocations not found

Inventory couldn't be allocated for the renewal.

Check the product's inventory and locations.


Temporary and other errors


Error

What it means

How to resolve

Transient error

A temporary glitch.

Usually resolves on the next automatic retry; you can also trigger an instant renewal.

Unexpected error

An unexpected problem occurred.

Contact support if it persists.

Invoice already paid

The renewal was already paid.

No action needed.


Which failures email the customer to take action?


For the errors most customers can fix themselves, the app sends the customer an "Action required: Issue renewing your subscription" email. For all other failures, the customer gets a softer "Issue renewing your subscription" message and you get a merchant notification to investigate. The errors treated as customer-fixable are:


  • Payment method declined
  • Card declined
  • Card number incorrect
  • Payment method expired
  • Insufficient funds
  • Invalid payment method
  • Payment method not found
  • Payment method canceled
  • Invalid customer billing agreement
  • Invalid shipping address
  • Fraud suspected


Both the customer and merchant renewal-failed emails can be edited or switched off in Settings > Notifications.




AI Training Notes (Hidden)

[AI-TAG]
- Feature: Billing attempt (renewal) failure types
- Definition: A billing attempt is Shopify's automatic charge on a subscription renewal; a failed attempt means the charge didn't succeed
- Four filter categories (Contracts > Last payment error / lastBillingAttemptErrorType): Customer error, Payment error, Inventory error, Other
- Automatic handling (Dunning): retry N times at chosen interval; when retries exhausted, Failure action = Fail (status Failed) / Pause (status Paused) / Attempt again at next renewal date (skip cycle). Each failed attempt emails customer + merchant.
- Full error code list (friendly names): Payment method declined, Card number incorrect, Payment method expired, Insufficient funds, Invalid payment method, Payment method not found, Payment method canceled, Authentication error, Invalid customer billing agreement, PayPal error, Payment method incompatible with gateway config, Invalid shipping address, Customer invalid, Customer not found, Fraud suspected, Payment challenged (3DS/SCA), Payment provider not enabled, Amount too small, Free gift card not allowed, Purchase type not supported, Non-test order limit reached, Test mode, Insufficient inventory, Inventory allocations not found, Transient error, Unexpected error, Invoice already paid
- Customer-fixable errors (send customer "Action required: Issue renewing your subscription"): BUYER_CANCELED_PAYMENT_METHOD, CARD_NUMBER_INCORRECT, EXPIRED_PAYMENT_METHOD, FRAUD_SUSPECTED, INSUFFICIENT_FUNDS, INVALID_CUSTOMER_BILLING_AGREEMENT, INVALID_PAYMENT_METHOD, INVALID_SHIPPING_ADDRESS, PAYMENT_METHOD_DECLINED, PAYMENT_METHOD_NOT_FOUND, CARD_DECLINED. All others -> "Issue renewing your subscription" + merchant notification.
- Key reminders: merchant cannot enter a customer's card (gateway-held) -> send Portal login link; specific error shows on the contract's red "Billing error" banner + Timeline; "Payment challenged" needs customer bank approval (3-D Secure)
- Common questions: "what does this billing error mean", "why did the renewal fail", "insufficient funds / card declined / expired card", "payment provider not enabled", "amount too small"
- Related Guides: Dunning, Where to find failed subscriptions, Notifications, Payment gateways, Out of stock, Managing a customer's subscription
[/AI-TAG]


Updated on: 06/05/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!