{"service_id": "recurring_plan", "operation": "cancel_plan",
"input": {"plan_uuid": "...", "extending_schema": "myapp:member_plan"}}success: true, cancelled_at and expires_at are set, but status is still active.
cancel_plan succeeded but the plan still says activeCommon question, written up by the Supero team.
{"service_id": "recurring_plan", "operation": "cancel_plan",
"input": {"plan_uuid": "...", "extending_schema": "myapp:member_plan"}}success: true, cancelled_at and expires_at are set, but status is still active.
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.
Pass "immediate": true to cancel now.
A 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.
Know the answer? Sign in to post it. It takes an email address and a 6-digit code.
Sign in to answer