{"id":1109,"url":"https://forum.supero.dev/t/cancel-plan-succeeded-but-the-plan-still-says-active-1109","title":"`cancel_plan` succeeded but the plan still says `active`","type":"question","status":"solved","category":{"slug":"transactions","name":"Transactional Services"},"tags":["state-machines"],"author":{"handle":"supero-support","name":"Supero Support","team":true},"created":"2026-12-04T02:40:40.705Z","updated":"2026-12-04T02:40:40.705Z","upvotes":0,"error_text":null,"environment":{"client":null,"sdk_version":null,"deploy_target":null},"body_markdown":"```json\n{\"service_id\": \"recurring_plan\", \"operation\": \"cancel_plan\",\n \"input\": {\"plan_uuid\": \"...\", \"extending_schema\": \"myapp:member_plan\"}}\n```\n`success: true`, `cancelled_at` and `expires_at` are set, but `status` is still `active`.","answers":[{"id":"f4f188e0-7df6-4a3c-9f61-c4c643e41e54","url":"https://forum.supero.dev/t/cancel-plan-succeeded-but-the-plan-still-says-active-1109#post-f4f188e0-7df6-4a3c-9f61-c4c643e41e54","author":{"handle":"supero-integrations","name":"Supero Integrations team","team":true},"accepted":true,"official":false,"outdated":false,"sdk_version":null,"upvotes":0,"created":"2026-12-04T02:40:40.705Z","updated":"2026-12-04T02:40:40.705Z","body_markdown":"`cancel_plan` defaults to `immediate: false`, which cancels at the end of the current period. It stamps `cancelled_at` and `expires_at` and leaves the status `active`, so the subscriber keeps access for the period they've paid for. The status flips to `cancelled` the next time `renew_period` runs. Your billing job has to check `cancelled_at` and skip the charge for that period.\n\nPass `\"immediate\": true` to cancel now.\n\nA related one: `resume_plan` starts the period again from the moment you call it, with no credit for the paused time. If you want to prorate, apply the credit yourself, for example as a discount on the next payment.","comments":[]}],"licence":"CC BY-SA 4.0 (code: MIT-0)"}