KYC: Fix - Mark the verification attempt as started when the SDK opens - #2336
Open
cmgustavo wants to merge 1 commit into
Open
KYC: Fix - Mark the verification attempt as started when the SDK opens#2336cmgustavo wants to merge 1 commit into
cmgustavo wants to merge 1 commit into
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Marks KYC attempts as started before opening SumSub and adds resume-oriented UI for in-progress verification.
Changes:
- Adds and invokes the
startKycAttemptRPC. - Introduces the
inProgressUI state across selectors and screens. - Extends effect and selector tests.
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
src/api/sumsub/index.ts |
Adds the attempt-start RPC wrapper. |
src/store/sumsub/sumsub.effects.ts |
Calls the RPC before SDK launch. |
src/store/sumsub/sumsub.effects.spec.ts |
Tests RPC ordering and failure handling. |
src/store/sumsub/sumsub.types.ts |
Adds the inProgress state. |
src/store/sumsub/sumsub.selectors.ts |
Maps and displays in-progress attempts. |
src/store/sumsub/sumsub.selectors.spec.ts |
Tests in-progress state behavior. |
src/navigation/tabs/home/components/KycBannerGate.tsx |
Adds the continuation banner. |
src/navigation/bitpay-id/screens/VerifyIdentity.tsx |
Adds the resume screen and action. |
src/navigation/bitpay-id/screens/ProfileSettings.tsx |
Adds the continuation status pill. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
cmgustavo
force-pushed
the
feat/save-status-kyc-attempt-01
branch
from
August 25, 2026 20:43
a9214fc to
36696f1
Compare
cmgustavo
force-pushed
the
feat/save-status-kyc-attempt-01
branch
from
August 26, 2026 14:02
36696f1 to
fe94e52
Compare
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.
A user who abandoned identity verification midway — closing the app while the SumSub SDK still had steps pending — was greeted by the "Get Verified" prompt on relaunch, as if they had never started. SumSub itself resumes correctly: reopening drops the user back exactly where they left off with their documents intact. Only the app's entry point was wrong.
Fix: This calls the new
BitPayUser.startKycAttemptRPC right before launching the SDK, which covers both the initial start and every resume.