Guides · Updated November 29, 2026
Bolt Stripe subscription not updating: fix access in your Bolt app
Someone pays in Stripe and your Bolt app leaves them on the free plan, or they cancel and they still have access. The checkout may have worked. The app never applied the subscription change to the flag it checks for paid features. This page is about fixing that in Bolt: find the access flag, paste a prompt so the webhook updates it, and avoid preview URLs. The spreadsheet method and webhook Dashboard checks live in the linked guides — this one does not repeat them.
Find what the app actually checks
Before you add more webhook code, look at how the generated Bolt app decides a user is Pro. Typical places: a plan or is_pro column on a profile, a subscriptions table, or middleware that reads one of those. Write access updates to that same place. A handler that sets profiles.plan while the UI reads subscriptions.status will look like "Stripe isn't updating."
Stripe's statuses are not all the same for access. active and trialing should grant paid access. canceled, unpaid and incomplete should not. past_due is a failed renewal that is still open — you need a grace policy, not a no-op (Stripe: How subscriptions work). A subscription with cancel_at_period_end is still active until Stripe marks it canceled.
Fix it in Bolt
- Publish a stable production URL. Do not register a Bolt preview, WebContainer, or localhost URL in Stripe.
- Paste the prompt below into Bolt so it wires the existing access flag to the Stripe events that grant and revoke access.
- Set
STRIPE_WEBHOOK_SECRETin the app's environment to thewhsec_of the Dashboard endpoint in the same mode (live or test). See Check your webhook secret if signature verification fails (Stripe: Verify signatures). - In Stripe, point the endpoint at that production URL and subscribe to
checkout.session.completed,customer.subscription.created,customer.subscription.updated,customer.subscription.deleted, andinvoice.payment_failedif you have subscriptions (Stripe: Subscription webhooks, Stripe: Webhooks). - Send a test event. If Event deliveries shows a failure, use Stripe webhook not firing. If it shows Delivered but the plan in the app is still wrong, the handler is writing the wrong field — tell Bolt which column the UI actually reads.
Prompt to paste into Bolt
Copy the prompt as-is, then confirm Bolt reports the production URL and the same access field the app already uses.
People already out of sync
Fixing the webhook does not rewrite history. To find who is already wrong, compare Stripe with your users: paid but no access, canceled but still has access, and past_due but still has access. Then grant or revoke those accounts, or resend the missed events once the handler is correct.
What PaidCheck's free report checks
With a read-only restricted key, the free report flags failed webhook deliveries from the last 30 days, disabled endpoints, endpoints missing subscription or checkout events, and a missing endpoint. Add a user list (CSV, Supabase function or HTTPS endpoint) to also see paying users who are locked out and canceled, unpaid or past_due users who still have access. It can't see Bolt logs or which signing secret your server uses, it doesn't check whether you subscribe to invoice.payment_failed, and it doesn't check event order or idempotency. It never writes to Stripe or your app. Paid plans run these checks daily and send an alert email when a check finds a new issue.
See who is out of sync
Run the free leak report with a read-only restricted key. Add a user list if you also want paid-but-no-access findings. The key is used once and not stored.
Run the free leak report →FAQ
Why doesn't my Bolt app update when a Stripe subscription changes?
The app is probably granting access only on the success page or on checkout.session.completed, and never handles later events. Or the webhook points at a preview URL that Stripe can't reliably reach, or the handler updates a different field than the one the app checks for paid access.
Can I use a Bolt preview URL as the Stripe webhook?
No. Preview and local WebContainer URLs are not a stable, public production endpoint. Publish the app, then register that HTTPS URL in Stripe in the same mode (live or test) the app charges in.
The customer paid, but they're still on the free plan. Where do I start?
Confirm the payment or subscription in the Stripe Dashboard (correct mode). Then check Event deliveries for checkout.session.completed or customer.subscription.created. If Stripe never delivered, or delivered a 4xx/5xx, fix the webhook URL and handler. If Stripe shows Delivered, the handler didn't write the access flag the app actually reads.
What should happen when a subscription is past_due?
past_due means a renewal failed and Stripe is still retrying; the subscription is not canceled yet. Decide a grace period and document it, then restrict access when that period ends. Details are in the past_due guide.
Can PaidCheck tell me who is out of sync?
Yes, if you add a user list (a CSV, a Supabase function, or an HTTPS endpoint) to the free leak report. With only a read-only restricted key it still flags failed webhooks and endpoint problems. It never writes to Stripe or your app. Paid plans run these checks daily and send an alert email when a check finds a new issue.
Related guides
- Stripe subscription past_due but the user still has access: what to do
A renewal failed and the customer still has the paid plan. What past_due means, the usual bugs, a policy, the code, and what happens after Stripe's last retry.
- Stripe subscription canceled or past due, but the user still has access
What canceled, unpaid and past_due mean for access, the events your app must handle, two cases that aren't bugs, and how to find who still has access.
- How to find Stripe customers who paid but don't have access in your app
Export from Stripe, compare with your users list in a spreadsheet, and fix the webhook gaps behind "I paid but I'm still on the free plan".
- Lovable Stripe webhook not working: how to fix it in Lovable
How to get a Stripe webhook working in a Lovable app: a production URL, a prompt to paste into Lovable, and the Stripe Dashboard checks to run after.
Check your own Stripe account for these issues. Run a free leak report →
Check your own account
PaidCheck's free leak report runs these comparisons with a read-only Stripe restricted key. Upload a CSV of your users or skip that for Stripe-only checks. The key is used once and not stored.
Run a free leak report →