# Handle every subscription state

> Signing up to a plan works, and nothing happens when a card fails or someone cancels.

Web page: https://buildladder.com/resources/prompts/subscriptions

What you get: One table of plan states and what the app does in each, with the missing ones built.

Paste it into: Your AI tool, in your project

## Prompt to copy

```text
Check that this app handles subscriptions past the first payment.

List every state a subscription can be in with my provider: trial, active, past due, cancelled but paid until the period ends, ended, paused, refunded. For each one, tell me what the app does today and what the user sees.

Fill the gaps: keep access until the paid period ends after a cancel, warn and retry on a failed payment before removing access, handle upgrades and downgrades mid-period, and let users manage or cancel without emailing me. One place in the code should decide what a user can access. Test each state with the provider's test clocks or test events.
```
