aimeos / pagible-cashier-mollie
Pagible CMS - Mollie Cashier provider
Requires
- php: ^8.2
- aimeos/pagible-cashier: 0.14.*
- mollie/laravel-cashier-mollie: ^2.0
Requires (Dev)
- larastan/larastan: ^3.9
- orchestra/testbench: ^10.0||^11.0
Suggests
None
Provides
None
Conflicts
Replaces
None
This package is auto-updated.
Last update: 2026-12-04 16:50:25 UTC
README
Mollie provider package for Pagible Cashier. It requires Cashier Mollie and conflicts with all other Pagible and upstream Cashier providers, so only one provider package can be installed per application.
Installation
composer require aimeos/pagible-cashier-mollie
User model
Add Aimeos\Cms\Concerns\CashierAccess and Laravel\Cashier\Billable to the application user model as described in the Pagible Cashier guide.
Environment
Configure the public application URL and the Mollie API key:
APP_URL=https://example.com MOLLIE_KEY=test_...
APP_URL must be reachable by Mollie because the webhook URLs sent with payments, e.g. the renewal payments created by the scheduler, are built from it. Use a live key in production and enable the required payment methods in your Mollie dashboard.
Install command
The installer publishes and runs the migrations:
php artisan cms:install:cashier
Run Laravel's scheduler continuously. The package schedules Mollie's cashier:run command every five minutes to create subscription renewal payments.
Webhooks
Mollie needs no webhook configuration in its dashboard because the webhook URLs are sent with each payment. They are registered at these paths, where {token} is derived from APP_KEY:
webhooks/mollie/{token}webhooks/mollie/aftercare/{token}webhooks/mollie/first-payment/{token}
Keep these routes public. Rotating APP_KEY changes the paths, so keep the previous value in Laravel's APP_PREVIOUS_KEYS setting until all existing subscriptions have ended and Mollie no longer retries webhooks for the old paths. Previous keys also keep existing subscription plans valid.
See the Pagible Cashier guide for the webhook behaviour.
Verify
Reload cached configuration, then verify the local setup and review the printed scheduler and webhook checklist:
php artisan config:clear php artisan cms:cashier:check
Pricing fields
- Payment reference: The decimal amount with exactly two digits, such as
19.00, for both subscriptions and one-time payments. - Currency: Its three-letter uppercase code.
- Billing interval: Required for subscriptions, from 1 to 365 days. One-time payments may omit it or use
0.
No cashier_plans.php configuration is needed. Keep package names to 80 characters or fewer because they become the invoice description.
See the Pagible Cashier guide for the access catalog, pricing element, and restricted-page workflow.
Checkout
Checkout opens the hosted Mollie checkout.
License
MIT