Short answer
The held money is gone, so ask the customer to pay again, or charge a saved payment method with a new PaymentIntent if the customer agreed to that. Then fix the timing: store capture_before for each authorized charge and capture before it, or request an extended authorization when creating the PaymentIntent, where the card is eligible.
Rather not fix it yourself? Stripe Billing Fix and Setup handles it at a fixed price, agreed before work starts.
Why the capture fails, and the fix
01
The order shipped after the hold expired
“The charge can’t be captured because the authorization has expired.” Stripe, Error codes (charge_expired_for_capture)
A store that captures on shipping fails for orders that wait more than about a week. Capture when the order is ready, or charge in full at checkout for slow orders.
02
The app assumes 7 days for every payment
“You need to capture the funds before the authorization expires.” Stripe, Place a hold on a payment method
Windows differ by card network, payment method and in-person versus online. Read capture_before on the charge and schedule the capture from that date.
const pi = await stripe.paymentIntents.retrieve(id, { expand: ['latest_charge'] }); const captureBefore = pi.latest_charge.payment_method_details.card.capture_before; // schedule the capture to run before captureBefore (Unix seconds) await stripe.paymentIntents.capture(id);03
Bookings need a longer hold
“Usually, an authorization for an online card payment is valid for 7 days.” Stripe, Place a hold on a payment method (extended authorizations)
Hotels, rentals and similar bookings can ask for an extended authorization on eligible online card payments, so the hold lasts past the usual window.
04
The capture job didn’t run
Also check: a failed cron or queue can leave held payments to expire. Alert on PaymentIntents in requires_capture that are close to capture_before.
Checked against the vendor’s docs on : Stripe docs: Error codes; Stripe docs: Place a hold on a payment method.
Rather hand it over?
Fixed scope, fixed price, paid upfront. The work happens in writing; no call needed.
- $950Stripe Billing Fix and SetupSubscriptions, webhooks, customer portal and failed payments set up or fixed, tested in Stripe test mode.See scope and start
- from $450App Fix TicketOne reproducible bug in an existing mobile or web app, diagnosed and fixed.See scope and start
- from $450AI-Built App RescueA Lovable, Bolt or Cursor app checked end to end in 3 days, then its worst problems fixed at a fixed price.No issues worth fixing, no charge. If the Launch Check finds nothing rated medium or higher, Simon refunds the full $450. You keep the report either way. This applies to the first 10 Launch Checks bought after October 30, 2026.See scope and start
“Working with Simon makes everything run so smoothly and better than I could ask for it. Amazingly communicative, extremely knowledgeable of coding and the backend processes. I strongly recommend.”
Related: Stripe charge_already_refunded · Stripe PaymentIntent authentication failure · Stripe coupon_expired · Stripe Checkout Session expired