Skip to content

Handle KYC "In Review" status in Didit session polling - #1950

Merged
MusabShakeel576 merged 1 commit into
qafrom
claude/fix-didit-widget-blank-m6I0q
Apr 15, 2026
Merged

Handle KYC "In Review" status in Didit session polling#1950
MusabShakeel576 merged 1 commit into
qafrom
claude/fix-didit-widget-blank-m6I0q

Conversation

@MusabShakeel576

Copy link
Copy Markdown
Contributor

Summary

Added handling for the "In Review" KYC status in the Didit session verification polling logic to properly notify users when their identity verification is pending review.

Key Changes

  • Added a new conditional branch to detect when KYC status is "In Review" or KycStatus.UNDER_REVIEW
  • Calls onVerificationPending() callback when the verification is in review state
  • Clears the polling interval to stop further status checks once in review state is detected
  • Updated the dependency array to include onVerificationPending callback

Implementation Details

The change ensures that the verification flow properly handles the intermediate "In Review" state, which occurs after initial submission but before final approval/rejection. This prevents the polling from continuing indefinitely and allows the UI to display appropriate pending/review status messaging to the user.

https://claude.ai/code/session_018nQC7baTuQivbNDAzXcTVP

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
@vercel

vercel Bot commented Apr 15, 2026

Copy link
Copy Markdown

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

2 Skipped Deployments
Project Deployment Actions Updated (UTC)
solid-app Ignored Ignored Apr 15, 2026 8:57am
solid-app-staging Ignored Ignored Apr 15, 2026 8:57am

Request Review

@MusabShakeel576
MusabShakeel576 merged commit 2ed3530 into qa Apr 15, 2026
4 of 5 checks passed
@MusabShakeel576
MusabShakeel576 deleted the claude/fix-didit-widget-blank-m6I0q branch April 15, 2026 08:58
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