Update Mexico and Colombia KYC Forms#1131
Conversation
✅ Deploy Preview for vortex-sandbox ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for vortexfi ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Pull request overview
Updates Alfredpay KYC UX/validation for Mexico and Colombia, and flips MXN/COP to “enabled” in the shared supported-fiat list (which affects both frontend availability and API quote validation).
Changes:
- Enabled MXN and COP in
SUPPORTED_FIAT_CURRENCIES. - Simplified Mexico KYC form by removing the document type field.
- Updated Colombia KYC form: stricter DNI/phone validation, switched document type input to the shared
Select, and adjusted phone input UI/normalization.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| packages/shared/src/services/alfredpay/types.ts | Minor KYC request typing/comment tweak (no behavioral change). |
| packages/shared/src/endpoints/supported-fiat-currencies.endpoints.ts | Enables MXN/COP for shared “supported fiat” gating. |
| apps/frontend/src/components/Alfredpay/MxnKycFormScreen.tsx | Removes MX document type selection from the form. |
| apps/frontend/src/components/Alfredpay/ColKycFormScreen.tsx | Updates CO KYC validation and inputs (Select + phone input changes). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| import type { MxnKycFormData } from "../../machines/alfredpayKyc.machine"; | ||
| import { MenuButtons } from "../MenuButtons"; |
| placeholder="573000000000" | ||
| type="tel" | ||
| {...register("phoneNumber", { | ||
| setValueAs: (v: string) => (v ? `+${v.replace(/^\+/, "")}` : v) |
|
@copilot apply changes based on the comments in this thread |
|
@copilot apply changes based on the comments in #1131 (review) |
…ization Agent-Logs-Url: https://github.com/pendulum-chain/vortex/sessions/b3c8ee52-8e6f-4d2a-9417-4c40ef144510 Co-authored-by: ebma <6690623+ebma@users.noreply.github.com>
Done in d4a0f65:
|
No description provided.