Add Mollie checkout flow, billing UI, and payment UX polish #71
Reference in New Issue
Block a user
No description provided.
Delete Branch "staging"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Changes
Checkout flow: New
/checkoutpage with auth guard, subscription guard, param validation, and post-payment success polling.PlanSummaryshowsreal-time VAT breakdown with verify button.
PaymentFormsupports 6 payment methods with foldable card form.FeatureSlideshowauto-cycles productscreenshots.
Billing tab: Updated for Mollie response format, in-app cancel confirmation modal (replaces browser confirm),
updatePaymentMethodredirect flow.Pricing page: CTAs redirect to
/checkoutwith plan params, excl. VAT label, pending checkout intent stored in localStorage for pre-auth users.Shared utilities: Extracted
lib/plans.ts(pricing config synced with backend),lib/countries.ts,lib/mollie.ts(Mollie.js init with testmodetoggle),
lib/api/billing.ts(calculateVAT, createEmbeddedCheckout).Other fixes: Auth refresh preserves org_id, org switcher uses SPA navigation, PageSpeed learn links mapped to ciphera.net/learn articles, referrer
registry expanded, accessible button color tokens.
Test Plan