Skip to content

Promote develop to production: public /sms opt-in page - #245

Merged
rvegajr merged 1 commit into
mainfrom
develop
Oct 4, 2026
Merged

rvegajr merged 1 commit into
mainfrom
develop

Conversation

@rvegajr

@rvegajr rvegajr commented Oct 4, 2026

Copy link
Copy Markdown
Member

Promotes develop → main (production): public /sms opt-in page, needed for Twilio toll-free verification. Verified on UAT: the page renders, POST with consent records it (200), and without consent it's refused (400).

🤖 Generated with Claude Code

…checkout (#243)

Twilio's toll-free verification needs a public page where a reviewer can see
the SMS opt-in. FieldView's opt-in only appears inside flows (score alerts,
subscribe, checkout) on game pages, and no public game page is live, so the
number could not be verified.

- web /sms explains the program (what is sent, frequency, rates, STOP/HELP,
  support email, no sharing of numbers or opt-in data) and has a working
  opt-in form: mobile number plus the product's unchecked SmsOptInCheckbox.
- api POST /api/public/sms/opt-in records consent through
  SmsComplianceService.recordViewerConsent (E.164, source web:/sms, IP, user
  agent). It refuses without the box checked and never sends a text. A
  hidden honeypot field drops bots.
- The public legal footer links "Text messages" to /sms.

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@rvegajr
rvegajr merged commit b406208 into main Oct 4, 2026
11 of 12 checks passed

This branch was previously deployed

1 inactive deployment
fieldview-live / development — df7a9152 Deployed Oct 4, 2026 by railway-app[bot]
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.

1 participant