Project

General

Profile

Actions

Bug #21

open
GO DP

Proration on a mid-cycle downgrade credits the full month

Bug #21: Proration on a mid-cycle downgrade credits the full month

Added by Grace Okonjo 2 months ago. Updated 2 months ago.

Status:
In Progress
Priority:
Urgent
Assignee:
Category:
Invoicing
Target version:
Start date:
09/23/2026
Due date:
10/02/2026 (55 days late)
% Done:

50%

Estimated time:
8:00 h

Description

What happens

proration on a mid-cycle downgrade credits the full month — reproduced on the current Billing Q4 build.

Steps to reproduce

  1. Sign in as a tenant on the standard plan.
  2. Open the affected screen and repeat the action three times in a row.
  3. Watch the response, the log line and the metric named in the comments below.

Expected

The operation completes once, the log carries a single correlated request id, and the metric moves
by exactly one.

Actual

The behaviour in the title: every time on a cold cache, and roughly one run in four on a warm one.
Found while working through the Invoicing backlog; the correlation id is available on request.

Actions

Also available in: PDF Atom