fix(pay): skip intro screen when data collection not required#256
fix(pay): skip intro screen when data collection not required#256
Conversation
When collectData is nil, the pay flow now automatically advances to the confirmation screen instead of showing the intro screen. Back navigation from confirmation now dismisses the modal when intro was skipped. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
Claude finished @jakubuid's task in 51s —— View job Code Review
Issue 1: Race condition between state transition and loading flagID: paypresent-race-loading-86f3 State transition to Recommendation: Set // If no data collection required, skip intro and go directly to confirmation
if response.collectData == nil {
self.isLoading = false
self.currentStep = .confirmation
} else {
self.isLoading = false
}Issue 2: Inconsistent navigation state when payment fails during intro-skipped flowID: paypresent-nav-state-9c41 When Recommendation: Consider adding an explicit "restart flow" option in error cases, or track whether intro was explicitly skipped vs. user has seen it, to allow graceful error recovery. Automated Checks✅ No external domain URLs detected |
|



Summary
collectDatais nil in the pay flowChanges
When a payment link does not require user data collection (travel rule), the wallet now:
Test plan
🤖 Generated with Claude Code