Validation & Errors¶
Use this page as a checklist when implementing validation and QA.
Customer¶
- [ ] First Name required
- [ ] Last Name required
- [ ] Require at least one contact method (phone or email)
- [ ] Phone number normalized and validated by country code
Package¶
- [ ] Selection required before continue
- [ ] Package list loads successfully (empty state handled)
Plan¶
- [ ] Selection required before continue
- [ ] Plans are compatible with selected package
- [ ] Pricing displayed correctly and consistently formatted
Preview¶
- [ ] Totals computed correctly
- [ ] Customer/package/plan details match selections
- [ ] Prevent collect payment if totals/details missing
Payment¶
- [ ] QR scanning permission handled (camera access)
- [ ] QR invalid/expired codes handled with retry
- [ ] Manual ID supports validation and status lookup
- [ ] Payment confirmation result is stored and reflected in UI