Skip to content

Price mobile numbers from their Twilio rental - #172

Merged
rafiki270 merged 2 commits into
mainfrom
fix/sms-number-cost-plus
Nov 20, 2026
Merged

rafiki270 merged 2 commits into
mainfrom
fix/sms-number-cost-plus

Conversation

@rafiki270

@rafiki270 rafiki270 commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Price new mobile number quotes from TwilioÔÇÖs current rental for the numberÔÇÖs country. UOA applies the configured number markup and converts into the organisationÔÇÖs billing currency using its accepted ECB rates.

  • Configure production number rental markup at 45% independently of the SMS usage markup. Checkout uses the accepted quoteÔÇÖs exact amount. Existing subscriptions keep their quoted terms.

  • Explain the pricing modes in the SMS policies screen and integration documentation.

  • Patch the Effect dependency to clear the high-severity audit finding.

Testing

  • API and Admin lint, type checks and builds passed on Minis. The high-severity dependency audit passed.
  • 43 focused billing tests passed, including isolated PostgreSQL coverage for UK and Czech rentals in EUR, GBP and USD and a price change between quote and checkout.
  • 201 Admin tests passed. The SMS policies browser suite passed on desktop and mobile against both revisions, including invalid input, retry and payment recovery.
  • The production quote remains to be verified after deployment.
Before After
Desktop before Desktop after
Mobile before Mobile after

@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-20T08:48:05.687437Z 5a18de7 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@rafiki270
rafiki270 merged commit 401bccc into main Nov 20, 2026
2 checks passed
@rafiki270
rafiki270 deleted the fix/sms-number-cost-plus branch November 20, 2026 09:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants