Configurable charge-upon-renewal look-ahead

πŸ” Problem Statement

As a client admin, charge-upon-renewal only charges one renewal phase ahead, so paid phases added behind an intermittent free phase go uncharged and revenue is deferred.

πŸ’‘ User Story

As a client admin, I want to set how many renewal phases ahead charge-upon-renewal charges from the platform admin dashboard, so that paid phases sitting behind free or stacked phases are collected when they're added.

🎯 Definition of Done (DoD)

  1. βœ” Given charge-upon-renewal is enabled and the look-ahead is set to N phases in the admin dashboard, when a subscription has N or fewer phases before a paid phase, then that paid phase is charged on the spot.

  2. βœ” Given the admin dashboard setting, when an admin saves the look-ahead value, then it persists per site and defaults to 1 for existing accounts.

  3. βœ” This change will impact UI and API, specifically the charge-upon-renewal settings screen in the admin dashboard and its backing configuration endpoint.

  4. βœ” This solution will include the following limitations: applies only when charge-upon-renewal is enabled; does not retroactively charge phases on existing subscriptions; look-ahead is a per-site setting, not per-plan or per-subscription. [clarify: confirm per-site scope]

Please authenticate to join the conversation.

Upvoters
Status

Backlog

Board
πŸ’‘

Pelcro Product

Date

3 months ago

Author

Rana Haleem

Subscribe to post

Get notified by email when there are changes.