Skip to content
Community forum

Plan is active but subscribers are never charged

SolvedSupero SupportSupero team asked

Common question, written up by the Supero team.

start_plan worked, the member_plan shows active with a next_billing_at last week, and no payment was ever created.

Link

1 answer

Accepted answer
Accepted answer

recurring_plan doesn't charge anyone. renew_period only moves the clock forward. Billing each period is a scheduled job your app runs. It scans active plans whose next_billing_at has passed, and for each one:

  1. Computes a period key such as {plan_uuid}:{current_period_start} and stops if the plan's last_billed_period_key already equals it.
  2. If cancelled_at is set, calls renew_period without charging.
  3. Otherwise creates a payment record (your schema extending payment:base_payment) for the plan's billing_amount, then authorizes and captures it.
  4. Stamps last_billed_period_key and last_billed_payment_uuid on the plan.
  5. Calls renew_period, and only after the capture succeeded.

Each renew_period call advances the period by one interval, so a blind retry bills the subscriber a period short. The period key in step 1 makes a re-run tick a no-op.

Supero Integrations teamSupero team answered
Link

Your answer

Plan is active but subscribers are never charged | Supero Community