Add Mollie checkout flow, billing UI, and payment UX polish #71

Merged
uz1mani merged 73 commits from staging into main 2026-03-28 10:28:03 +00:00
17 changed files with 1095 additions and 120 deletions
Showing only changes of commit c7cf50ef1d - Show all commits

View File

@@ -63,9 +63,9 @@ export default function PlanSummary({ plan, interval, limit, country, vatId, onC
fetchVAT(country, verifiedVatId, currentInterval) fetchVAT(country, verifiedVatId, currentInterval)
}, [country, currentInterval, fetchVAT, verifiedVatId]) }, [country, currentInterval, fetchVAT, verifiedVatId])
// Clear verified state when VAT ID input changes // Clear verified state when VAT ID input changes after a successful verification
useEffect(() => { useEffect(() => {
if (vatId !== verifiedVatId) { if (verifiedVatId !== '' && vatId !== verifiedVatId) {
setVerifiedVatId('') setVerifiedVatId('')
// Re-fetch without VAT ID to show the 21% rate // Re-fetch without VAT ID to show the 21% rate
if (country) fetchVAT(country, '', currentInterval) if (country) fetchVAT(country, '', currentInterval)