Billing

Failed payments and dunning

What Piika does when a subscription charge fails, the default retries on days 1, 3 and 5, what happens to deliveries, and how to recover the payment.

Dunning is the process of recovering a failed payment: retrying the card, telling the customer, and finally pausing or ending the subscription. Piika runs it automatically for every store, using your dunning policy. This article describes the default policy.

The default scheduleLink to section: The default schedule

Day What happens
Day 0 The charge fails. The subscription becomes Past due. The customer gets "Payment failed for your {store} subscription" with an Update payment method button and, when one is planned, the next retry date.
Day 1 Retry 1
Day 3 Retry 2
Day 5 Retry 3, the final one. If it fails, the subscription becomes Unpaid and the customer gets "Your {store} subscription is on hold".
Day 5 With the default policy, the subscription is then Cancelled.

Days are counted from the first failure. If Stripe returns a suggested retry time, Piika uses it for the next retry instead of the fixed day. Each failed retry sends the customer another payment-failed email. A payment the bank asked the customer to approve follows the same schedule: the customer can confirm it at any time, and if nobody does, it ends as unpaid or cancelled like any other. See Payment requires authentication.

The first payment at checkout is different: the customer is still on your store, so there is no dunning. They see the decline and can try another card. A checkout that is never paid expires after about a day. See Subscription statuses explained.

Note: Some failures cannot succeed on a retry, for example when the bank says the card must not be charged again. Piika then skips the remaining retries and moves on as if the last one failed.

You can change every part of this schedule. See Set your dunning policy. The Payments screen shows your current policy under "What happens when a payment fails".

Deliveries during dunningLink to section: Deliveries during dunning

By default, deliveries are held while a subscription is past due:

  • Its next boxes are not on the prep list.
  • An order whose cut-off passes while the payment is still failing is skipped, not cancelled, and not charged. No email is sent for these skips.
  • No new orders are created.

The console banner on Payments says: "Their next boxes are on hold and are not on the prep list. Cards are retried automatically. Boxes still unpaid at cut-off are skipped, not cancelled."

If you set Deliveries while past due to Deliver anyway, orders keep locking and going out during dunning. The Payments banner then says: "You chose to deliver anyway: their next boxes stay on the prep list while cards are retried automatically." The customer's portal also follows your policy (see below).

When the payment succeeds, the subscription becomes Active again and orders resume on the usual cadence. Skipped orders are not delivered late, and missed periods are not billed afterwards.

Find failed paymentsLink to section: Find failed payments

Open Payments and select the Failed payments tab. Each row shows:

  • What went wrong, such as "Charge failed: {code}" or "Bank asked the customer to approve",
  • Retries: "In dunning since {when}", the attempts so far, and "Next retry {when}" or "No retry scheduled".

The Today screen also lists failed payments under Needs attention. See Use the Today screen and Payments overview screen.

Help recover a paymentLink to section: Help recover a payment

From the Failed payments tab:

  • Send card link emails the customer a link to update their card ("Update your payment method for {store}"). You can send one link per invoice every 10 minutes. Owners, admins, operations and support members can send it.
  • Retry now charges the saved card at once: "We charge the saved card at once (attempt {attempt}). The customer is not asked to confirm." Only owners and admins can retry.

The fastest fix is usually the customer's. When they update their payment method in the portal, Piika immediately retries every unpaid invoice of the subscription. The portal's Billing page also shows a Payment needed card for each failed charge. See Change subscription details. For strategy, read Recover failed payments with dunning.

The customer's viewLink to section: The customer's view

In the portal, a past-due customer sees a Payment needed banner on the home page: "Your last payment did not go through.", followed by "Deliveries are on hold until it is paid." with Hold them, or "Your deliveries continue for now." with Deliver anyway. The link Pay or update your card opens Billing.

On Billing, the failed charge reads "The charge of {amount} on {date} did not go through.", followed by "Deliveries are on hold until it is paid." or "Your deliveries continue, but please pay it soon.", and "We retry this charge automatically. To pay now with another card, update your payment method."

Common pitfallsLink to section: Common pitfalls

  • A cancelled subscription cannot come back. With the default policy, a customer who misses all retries is cancelled on day 5. Add grace days if you want time to reach them.
  • Several invoices in dunning. Each is retried on its own schedule. The subscription is Active again only when nothing is owed.
  • The failure needs approval. That is not a decline. See Payment requires authentication.
  • One customer keeps failing. See Payment keeps failing.

Questions

When does Piika retry a failed payment?
By default 1, 3 and 5 days after the first failure. When Stripe suggests a better retry time, Piika uses it for the next retry.
What happens after the last retry fails by default?
The subscription becomes Unpaid and, with the default settings, is cancelled straight away. You can add grace days or keep it unpaid instead.
Are boxes delivered while a payment is failing?
By default no. Boxes are held and an order whose cut-off passes while the payment is overdue is skipped, not cancelled. You can choose to deliver anyway.