diff --git a/app/checkout/components/CheckoutContent.tsx b/app/checkout/components/CheckoutContent.tsx index 5044414..f7f7a0f 100644 --- a/app/checkout/components/CheckoutContent.tsx +++ b/app/checkout/components/CheckoutContent.tsx @@ -20,6 +20,19 @@ import { readCheckoutDraft, writeCheckoutDraft, clearCheckoutDraft } from "../.. import type { ShippingMethod, PaymentMethod, TrustBadge, ShippingSettings } from "../../lib/payload"; import type { CustomerProfile } from "../../lib/customerAuth"; +// Native HTML5 pattern validation (instant, no round-trip) mirroring the +// same rules Orders.ts/Customers.ts enforce server-side — a plausibility +// check, not the source of truth (the backend re-validates regardless of +// what a customer's browser did or didn't catch). Only Germany/Austria/ +// Switzerland are offered in the country