## Summary - When a user cancels the bank authorization flow (e.g. clicks cancel on the bank's page), the pending `BankingConnection` is now soft-deleted so it doesn't remain stuck in `pending` status - Flash messages (`success`/`error`) are now shared with the frontend via Inertia shared data - The connections settings page shows a toast notification with the error message on redirect ## Test plan - [ ] Start a bank connection flow, cancel on the bank's authorization page, and verify: - A toast error appears on the connections page - The pending connection is removed from the list - [x] Complete a successful bank connection and verify the success toast appears - [x] Run `php artisan test tests/Feature/OpenBanking/AuthorizationControllerTest.php` |
||
|---|---|---|
| .. | ||
| components | ||
| contexts | ||
| hooks | ||
| layouts | ||
| lib | ||
| pages | ||
| providers | ||
| services | ||
| types | ||
| utils | ||
| app.tsx | ||
| ssr.tsx | ||