## Summary - sync user currency from the first account, manual or connected - reuse one service across manual creation and open banking mapping/auto-create flows - keep later accounts from overwriting user currency - add browser signup + onboarding account creation coverage ## Prod check - users with any account: 210 - first account currency mismatches user currency: 64 - USD user + EUR first account: 36 - first account manual users: 189 - manual-first mismatches: 61 ## Tests - vendor/bin/pint --dirty --format agent - php artisan test --compact tests/Feature/OpenBanking/AccountMappingTest.php tests/Feature/OpenBanking/AuthorizationControllerTest.php tests/Feature/OpenBanking/IndexaCapitalControllerTest.php tests/Feature/OpenBanking/BinanceControllerTest.php tests/Feature/OpenBanking/BitpandaControllerTest.php tests/Feature/OpenBanking/CoinbaseControllerTest.php tests/Feature/Settings/AccountTest.php - php artisan test --compact tests/Browser/OnboardingFlowTest.php --filter='syncs user currency from first onboarding account after signup' |
||
|---|---|---|
| .. | ||
| Concerns | ||
| AccountMappingController.php | ||
| AuthorizationController.php | ||
| BinanceController.php | ||
| BitpandaController.php | ||
| CoinbaseController.php | ||
| ConnectionController.php | ||
| IndexaCapitalController.php | ||
| InstitutionController.php | ||