Skip to content

Incorrect price per unit displayed for Duo Pro and additional seats on uninvoiced subscriptions

Problem

When purchasing Duo Pro or additional base plan seats for a subscription that hasn't been invoiced yet (before bill run), the Customers Portal displays incorrect or unpredictable price per unit values. After the bill run is completed, the pricing displays correctly.

Evidence

From https://gitlab.com/gitlab-org/customers-gitlab-com/-/work_items/14566#note_2870568419

Before bill run After bill run
CleanShot 2025-11-06 at 12.01.09.png CleanShot 2025-11-06 at 12.02.14.png
CleanShot 2025-11-06 at 12.01.28.png CleanShot 2025-11-06 at 12.02.34.png

Additional Context

Proposal

Investigate why price per unit calculations are incorrect for uninvoiced subscriptions and implement a fix to ensure accurate pricing is displayed before bill runs are executed.

Acceptance Criteria:

  • Price per unit for Duo Pro purchases displays correctly before bill run
  • Price per unit for additional base plan seat purchases displays correctly before bill run
  • Pricing remains accurate after bill run completion
  • Verify fix doesn't impact other subscription pricing displays
Edited by Tatyana Golubeva