Search by

falconmedia / magento2-agentic-checkout-mollie

falconmedia

Mollie hosted checkout pay URL provider for the FalconMedia ACP agentic checkout

Package info

github.com/falconmedia/magento2-agentic-checkout-mollie

Type:magento2-module

pkg:composer/falconmedia/magento2-agentic-checkout-mollie

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

0.1.0 2026-12-03 13:26 UTC

This package is not auto-updated.

Last update: 2026-12-04 09:00:02 UTC


README

Mollie add-on for falconmedia/magento2-agentic-checkout. It registers a pay URL provider for the Mollie payment methods, so the ACP complete call places the order with a Mollie method and returns a hosted Mollie checkout link. No card data passes through the store or the agent.

Requirements

  • falconmedia/magento2-agentic-checkout ^0.1
  • mollie/magento2 ^3.0, configured with a working API key

Installation

composer require falconmedia/magento2-agentic-checkout-mollie
bin/magento setup:upgrade
bin/magento setup:di:compile

Configuration

  1. Configure Mollie as usual (API key, enable the method you want) and use test mode until the flow is verified.
  2. Set the hosted payment method of the agentic checkout to the Mollie method code, for example mollie_methods_ideal (path falconmedia_agentic_checkout/payment/method_code).
  3. Enable the checkout completion in the agentic checkout configuration.

Registered codes: all shopper-facing mollie_methods_* methods except paymentlink (admin only), reorder, pointofsale, general and expresscomponents.

Flow

  1. complete places the order with the Mollie method (state pending_payment).
  2. The provider creates a Mollie payment token for the order and returns https://<store>/mollie/checkout/redirect/paymentToken/<token>/ as the order permalink.
  3. When the buyer opens that URL, the Mollie module starts the transaction and redirects to the hosted checkout.
  4. Mollie calls the webhook mollie/checkout/webhook; the buyer returns through mollie/checkout/process. The Mollie module updates the order status, invoices it and sends the confirmation.

The permalink is the Mollie redirect URL (store frontend URL) only while the order is new or pending_payment with nothing invoiced; afterwards it is the store home page. The payment token is reused when it exists and a concurrent creation is resolved by reading the token again.

The transaction is started lazily, so complete makes no Mollie API call. A Mollie API error shows when the buyer opens the link, not during complete.

Tests

MAGENTO_VENDOR_AUTOLOAD=/path/to/magento/vendor/autoload.php vendor/bin/phpunit -c package-source/FalconMedia/AgenticCheckoutMollie/phpunit.xml

License

MIT