fixstacks / module-zero-mollie
Zero for Magento Open Source: payment on Mollie's page for Zero Checkout: iDEAL, Bancontact, cards, SEPA, Klarna and every method switched on for the order's currency.
Package info
github.com/Fixstacks/module-zero-mollie
Type:magento2-module
pkg:composer/fixstacks/module-zero-mollie
Requires
- php: ~8.2.0||~8.3.0||~8.4.0
- fixstacks/module-zero-checkout: ^1.3
- magento/framework: 103.0.*
- magento/module-config: *
- magento/module-directory: *
- magento/module-payment: *
- magento/module-quote: *
- magento/module-sales: *
- magento/module-store: *
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Payment on Mollie's page for Zero Checkout: the customer picks iDEAL, Bancontact, card, SEPA, Klarna or any other method switched on in the Mollie dashboard for the order's currency. No libraries: Mollie's Payments API v2 over Magento's HTTP client.
Install
Requires Magento Open Source 2.4.7–2.4.9 and PHP 8.2–8.4 with the GD extension built with WebP (php -r 'var_dump(function_exists("imagewebp"));' says true; Magento's own PHP requirements cover the rest). Without WebP in GD, Zero skips its WebP image copies and serves the originals.
composer require fixstacks/module-zero-mollie bin/magento setup:upgrade bin/magento setup:di:compile # production mode bin/magento setup:static-content:deploy # production mode bin/magento cache:flush
Composer installs fixstacks/module-zero-checkout with it.
Part of fixstacks/zero, which installs the Zero theme and every Zero module at once.
How a payment goes
- Placing the order creates a Mollie payment for the order's grand
total in the order's currency (the store view's currency, e.g. EUR in
Europe (EUR)). The order stays pending payment, and Zero Checkout
sends the customer to Mollie (
Placeorder::REDIRECT_URL). - The customer comes back (
zero_mollie/payment/return, also Mollie's cancel URL). The payment's state is asked from Mollie:paid: captured, invoice registered, order email;authorized(pay-later methods): reserved, the order is processing; capture it in the Mollie dashboard;canceled,expired,failed: the order cancelled, the cart restored;open(came back without paying): the payment is cancelled where the method allows it, then the order;pending: the success page with a note.
- Mollie's webhook (
zero_mollie/payment/webhook?order=…, POSTid=tr_…): unsigned by Mollie's design, so it only triggers asking Mollie again; the id must be the order's own payment. Not sent from a development site (Mollie refuses webhooks it can't reach); there the return updates the order.
A payment for another amount or currency than the order's leaves the order pending with a comment. Refunds: a credit memo from the invoice refunds online, in full or in part, in the order's currency.
Settings
Stores > Configuration > Sales > Payment Methods > Mollie (Zero):
Enabled, Title, API Key (encrypted; test_… for test payments),
countries, sort order. The method shows only with a key. Not for orders made
in the admin.
License
OSL-3.0 or AFL-3.0, your choice: see NOTICE.md.
Zero is made by Fixstacks in partnership with Vilmate, a software development company. Documentation: https://fixstacks.com/zero/docs. Demo store: https://zero.fixstacks.com.