reachweb/resrv-payment-mollie

Mollie payment gateway for Statamic Resrv.

Maintainers

Package info

github.com/reachweb/resrv-payment-mollie

Homepage

Type:statamic-addon

pkg:composer/reachweb/resrv-payment-mollie

Transparency log

Statistics

Installs: 1

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.0 2024-09-12 17:46 UTC

This package is auto-updated.

Last update: 2026-07-08 11:05:23 UTC


README

This add-on adds a Mollie payment gateway to Statamic Resrv.

Requirements

  • Statamic 6 and Statamic Resrv 6
  • A Mollie account and API key

For Resrv 5 or earlier, use v1.0.0 of this add-on.

Installation

composer require reachweb/resrv-payment-mollie

Add your Mollie API key to .env:

MOLLIE_KEY=live_xxxxxxxxxxxxxxxxxxxxxxxxxx

Configuration

Register the gateway in config/resrv-config.php under payment_gateways:

'payment_gateways' => [
    'mollie' => [
        'class' => \Reach\ResrvPaymentMollie\Http\Payment\MolliePaymentGateway::class,
        'label' => 'Mollie', // optional, shown in the checkout gateway picker
    ],
],

The config key ('mollie') is stored on each reservation and used to resolve webhooks, refunds and redirect callbacks — don't change it after reservations have been created with it.

Webhooks

The gateway sets the webhook URL (/resrv/api/webhook/<config-key>) on every payment automatically, so nothing needs to be configured in the Mollie dashboard. Mollie must be able to reach your site, though — for local development use a public tunnel (e.g. ngrok or Expose), since Mollie rejects payments with an unreachable webhook URL.

Documentation

Please refer to the Resrv documentation to learn more about how to install and configure this add-on.