Skip to content

Mollie

  1. Login to my.mollie.com

    Navigate to Menu > More > Settings > Developers

    Copy API key, Partner ID and Profile ID

  2. Setup environment variables

    .env
    MOLLIE_APIKEY=123
    MOLLIE_PARTNER_ID=123
    MOLLIE_PROFILE_ID=123
  3. Setup payment method for frontend in lib/loadcontext.ts

    src/lib/loadcontext.ts
    import { dummypayments } from "./dummypayments";
    import { molliepayments } from "./mollie";
    ...
    (base as ContextScope).payment = dummypayments(base);
    (base as ContextScope).payment = molliepayments(base);