Flagsmith / Flagsmith/flagsmith

Return the current billing period with subscription metadata

Open
#8,257 0 comments 0 reactions 1 assignee Assigned to @talissoncosta View on GitHub
api
Dominant language
Python
Stars
6.6k
Forks
567
Avg merge
1d 13h
Merged PRs (30d)
121

Description

The usage page can show how much of a plan has been used, but not when the allowance resets. The billing period is never returned, so there is nothing to put on screen.

Return the current period's start and end with the subscription metadata the page already fetches. Null where there is no billing term, which the page already handles.

Depends on #6099, which adds the calculation.

**Done when** the page can show which period someone is in, when it resets, and how long is left.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.