Fix Didit widget blank screen when KYC completed on mobile - #1951
Merged
MusabShakeel576 merged 1 commit intoApr 15, 2026
Conversation
The polling interval only checked for Approved/Declined statuses. When a user scans the QR code and completes KYC on mobile, the backend receives a webhook setting the status to "In Review" / under_review. The desktop poller never detected this state, leaving the embedded Didit widget as a blank white iframe. Add the missing under_review check so the user is redirected to the pending page. Also add onVerificationPending to the useEffect dependency array. https://claude.ai/code/session_018nQC7baTuQivbNDAzXcTVP
|
The latest updates on your projects. Learn more about Vercel for GitHub. 2 Skipped Deployments
|
MusabShakeel576
deleted the
claude/cherrypick-didit-widget-fix-to-master
branch
April 15, 2026 09:20
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary\n- Cherry-pick of a4447f2 from qa to master\n- Fixes the Didit KYC widget turning blank/white on desktop when user completes verification on mobile via QR code\n- The polling interval now detects
In Review/under_reviewstatus and redirects to the pending page instead of leaving a blank iframe\n\n## Test plan\n- [ ] Start KYC on desktop, scan QR code on mobile, complete verification on mobile\n- [ ] Verify desktop redirects to the card pending page within ~5 seconds instead of showing a blank white widget\n- [ ] Verify normal desktop-only KYC flow still works (Approved → success, Declined → error)\n\nhttps://claude.ai/code/session_018nQC7baTuQivbNDAzXcTVP