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.
How it fits
Section titled “How it fits”What this feature needs to run (Requires).
flowchart TB
n_subscription_mollie["subscription-mollie"]
subgraph how_reqs["Requires"]
n_billing_foundation["billing-foundation"]
end
n_billing_foundation --> n_subscription_mollie
Dependencies
Section titled “Dependencies”- Requires:
billing-foundation - Activation: always on (not toggleable)
Extensions & cross-feature APIs
Section titled “Extensions & cross-feature APIs”- Registers extension:
subscriptionProvider→mollie