Commit Graph

12 Commits

Author SHA1 Message Date
Usman Baig
3306508bf0 fix: show Verified for valid VAT IDs regardless of exemption
Use company_name presence to determine validity instead of
vat_exempt, so Belgian B2B shows Verified + company info
even though 21% VAT still applies.
2026-03-27 12:43:59 +01:00
Usman Baig
cb7e4c7c98 fix: title-case VIES data, animate company info, no price flash
VIES returns ALL CAPS — now title-cased for display. Company info
slides in with framer-motion. Price breakdown stays visible during
VAT verification instead of flashing to a loading spinner.
2026-03-27 12:42:07 +01:00
Usman Baig
9656225b60 fix: eliminate double VIES call on Verify click
Let the verifiedVatId useEffect handle the fetch instead of
calling fetchVAT directly in handleVerifyVatId. Prevents
VIES MS_MAX_CONCURRENT_REQ rate limiting.
2026-03-27 12:37:08 +01:00
Usman Baig
8db8f65fca fix: show Verified only when VIES confirms valid VAT ID
Split isVatVerified into isVatChecked (user clicked Verify) and
isVatValid (VIES confirmed exempt). Button now shows Verify and
stays enabled after a failed check so the user can retry.
2026-03-27 12:28:10 +01:00
Usman Baig
c7cf50ef1d fix: prevent price flash on VAT ID keystroke
Only re-fetch VAT when clearing a previously verified VAT ID,
not on every keystroke when nothing was verified yet.
2026-03-27 12:22:33 +01:00
Usman Baig
342d86c26d feat: add VAT ID verify button and company info display
PlanSummary now has a Verify button for VAT ID instead of
auto-verifying on input. Shows company name and address from
VIES on successful verification, with warning on invalid IDs.
2026-03-27 12:16:46 +01:00
Usman Baig
ad207dc23f fix: move useState before conditional returns, fix yearly total display 2026-03-27 11:48:00 +01:00
Usman Baig
d9e3f90c27 feat: add VAT breakdown to PlanSummary 2026-03-27 11:41:44 +01:00
Usman Baig
75bf071d98 feat: split checkout layout with auto-cycling feature slideshow 2026-03-26 23:10:14 +01:00
Usman Baig
497f0f791a fix: hide mollie spinners, add placeholders, errors only on submit, sliding interval toggle 2026-03-26 22:41:51 +01:00
Usman Baig
48f71ee65b fix: checkout UI polish — brand colors, Pulse Select, logo, touched-only errors, no skeletons 2026-03-26 22:33:30 +01:00
Usman Baig
837f440107 feat: add plan summary component for checkout page 2026-03-26 21:25:51 +01:00