Mollie & B2B Net-14
Package:
@vicacha-devs/medusa-payment-mollie· Version:0.1.2· Category: Payments
Package Snapshot
Section titled “Package Snapshot”| Capability | Details |
|---|---|
| Medusa Modules / Models | 0 modules / 0 data models |
| Workflows | 0 |
| Subscribers / Jobs | 0 subscribers / 0 scheduled jobs |
| Providers | mollie-payment |
| Admin UI Routes / Widgets | 0 routes / 0 widgets |
| Admin i18n Locales | en |
| HTTP Endpoints | Provider / Middleware-only (no custom HTTP routes) |
Mollie (iDEAL, Bancontact, SEPA, Cards) and B2B Net-14 Invoice payment provider plugin for Medusa v2.
Key Features
Section titled “Key Features”- Mollie Payment Provider (
mollie-ideal):- Supports
initiatePayment,authorizePayment,capturePayment,refundPayment,cancelPayment,deletePayment,retrievePayment,updatePayment,getPaymentStatus, andgetWebhookActionAndData. - Validates Mollie payment IDs (
/^tr_[A-Za-z0-9]{6,40}$/) and enforces SSRF-safebaseUrloverrides (https://or non-production loopback127.0.0.1/localhostfor QA emulators).
- Supports
- B2B Net-14 Invoice Support: Pairs with B2B checkout workflows for Net-14 deferred invoicing alongside instant Mollie methods.
Installation & Configuration
Section titled “Installation & Configuration”pnpm add @vicacha-devs/medusa-payment-mollieRegister in medusa-config.ts:
import { defineConfig } from "@medusajs/framework/utils"
export default defineConfig({ plugins: [ { resolve: "@vicacha-devs/medusa-payment-mollie", options: {}, }, ], modules: [ { resolve: "@medusajs/medusa/payment", options: { providers: [ { resolve: "@vicacha-devs/medusa-payment-mollie/providers/mollie-payment", id: "mollie-ideal", options: { apiKey: process.env.MOLLIE_API_KEY, webhookUrl: process.env.MOLLIE_WEBHOOK_URL, }, }, ], }, }, ],})Environment Variables
Section titled “Environment Variables”| Variable | Description |
|---|---|
MOLLIE_API_KEY |
Mollie live (live_...) or test (test_...) API key |
MOLLIE_WEBHOOK_URL |
Optional public HTTPS webhook URL for Mollie status callbacks |
Development & Testing
Section titled “Development & Testing”pnpm --filter @vicacha-devs/medusa-payment-mollie testpnpm --filter @vicacha-devs/medusa-payment-mollie typecheck