Skip to content

subscription-mollie

Mollie payment provider plugin for billing-foundation, covering the DACH/EU mid-market use case. Mount via createSubscriptionMollieFeature({ apiKey, webhookUrl, priceToTier, priceToConfig }) — the factory validates that priceToTier and priceToConfig keys are identical at boot time. Implements verifyAndParseWebhook (lazy Mollie-API fetch + heuristic event-type mapping) and createCheckoutSession (customer + first-payment with sequenceType="first"); createPortalSession and cancelSubscription are not available because Mollie has no customer portal and requires a customerId that the plugin contract does not carry.

What this feature needs to run (Requires, top) and the write commands it provides (Provides, bottom).

flowchart TB
  n_subscription_mollie["subscription-mollie"]
  subgraph how_reqs["Requires"]
    n_billing_foundation["billing-foundation"]
  end
  n_billing_foundation --> n_subscription_mollie
  • Registers extension: subscriptionProvidermollie