feat: payment method selector with foldable card form

Checkout shows payment method tiles (Card, Bancontact, iDEAL,
Apple Pay, SEPA DD, Bank Transfer). Card selection expands the
embedded form; other methods redirect to Mollie hosted checkout
with the method pre-selected.
This commit is contained in:
Usman Baig
2026-03-27 15:12:27 +01:00
parent a55f9a91bd
commit 9c7afda80d
2 changed files with 187 additions and 82 deletions

View File

@@ -74,6 +74,7 @@ export interface CreateCheckoutParams {
limit: number
country: string
vat_id?: string
method?: string
}
export async function createCheckoutSession(params: CreateCheckoutParams): Promise<{ url: string }> {