Skip to content

fix(card-activate): show Rain KYC reasons on first step#2060

Merged
MusabShakeel576 merged 1 commit intomasterfrom
claude/fallback-error-message-BJ6Bf-master
May 10, 2026
Merged

fix(card-activate): show Rain KYC reasons on first step#2060
MusabShakeel576 merged 1 commit intomasterfrom
claude/fallback-error-message-BJ6Bf-master

Conversation

@MusabShakeel576
Copy link
Copy Markdown
Contributor

Forward-port of #2059 from qa to master.

getStepDescription early-returned the generic Rain status text and never consulted kycWarnings, so the rejection labels surfaced from the backend (via the user.updated webhook applicationReason field) were silently dropped on the first step of /card/activate. Pass warnings into getKYCDescription and bullet them under the NEEDS_INFORMATION message — the only Rain state Rain documents as carrying temporary, user-actionable labels. Final rejections (denied/locked/canceled) stay generic so we don't leak compliance labels like SANCTIONS or PEP to the user.

Pairs with solid-backend forward-port of #1433.


Generated by Claude Code

getStepDescription early-returned the generic Rain status text and never
consulted kycWarnings, so the rejection labels we now surface from the
backend (via the user.updated webhook applicationReason field) were
silently dropped on the first step of /card/activate. Pass warnings into
getKYCDescription and bullet them under the NEEDS_INFORMATION message —
the only Rain state Rain documents as carrying temporary, user-actionable
labels. Final rejections (denied/locked/canceled) stay generic so we
don't leak compliance labels like SANCTIONS or PEP to the user.
@vercel
Copy link
Copy Markdown

vercel Bot commented May 10, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Actions Updated (UTC)
solid-app Ignored Ignored May 10, 2026 9:53am
solid-app-staging Ignored Ignored May 10, 2026 9:53am

Request Review

@MusabShakeel576 MusabShakeel576 merged commit 49fb755 into master May 10, 2026
4 of 5 checks passed
@MusabShakeel576 MusabShakeel576 deleted the claude/fallback-error-message-BJ6Bf-master branch May 10, 2026 09:57
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