How mollie/prestashop works
Mollie for PrestaShop adds payment checkout and back-office configuration to an online store. The main customer flow selects a Mollie method, starts payment through Mollie, and returns to the store; webhook endpoints handle asynchronous updates. Separate capabilities include recurring subscriptions, Apple Pay Direct, and payment-method and order settings. The tree and README establish these product areas; sampled source confirms selected controller, API-handler, and subscription-grid behavior, but not every endpoint’s wiring.
Main entry points: payment.php Payment Entry · AdminMolliePaymentMethodsController.php Payment Settings · OrderCreationHandler.php Order Creation · CreateRecurringOrderAction.php Recurring Orders
Components 22
Checkout Payments
- Payment Entry
controllers/front/payment.php - Payment Methods
src/Handler/PaymentOption/PaymentOptionHandler.php - API Service
src/Service/ApiService.php - Apple Pay API
src/Service/ApiService.php
Order Lifecycle
- Payment Return
controllers/front/return.php - Payment Webhook
controllers/front/webhook.php - Order Creation
src/Handler/Order/OrderCreationHandler.php - Store Orders
src/Repository/OrderRepository.php
Merchant Administration
- Payment Settings
controllers/admin/AdminMolliePaymentMethodsController.php - Order Settings
controllers/admin/AdminMollieAdvancedSettingsController.php
Recurring Subscriptions
- Subscription Admin
subscription/Controller/Symfony/SubscriptionController.php - Subscription Grid
subscription/Grid/SubscriptionGridQueryBuilder.php - Subscription Webhooks
controllers/front/subscriptionWebhook.php - Subscription Updates
controllers/front/subscriptionUpdateWebhook.php - Recurring Orders
subscription/Action/CreateRecurringOrderAction.php - Subscription API
subscription/Api/SubscriptionApi.php
Apple Pay Direct
- Apple Pay AJAX
controllers/front/applePayDirectAjax.php - Session Handler
src/Application/CommandHandler/RequestApplePayPaymentSessionHandler.php
Other components
- Shopper
- Store Admin
- PrestaShop
- Mollie API
Connections 26
- Shopper → Payment Entry: starts checkout
- Payment Entry → Payment Methods: offers methods
- Payment Entry → API Service: starts payment
- API Service → Mollie API: calls API
- Mollie API → Payment Return: redirects back
- Mollie API → Payment Webhook: sends updates
- Payment Return → Order Creation: handles return
- Payment Webhook → Order Creation: updates order
- Order Creation → Store Orders: persists order
- Store Admin → Payment Settings: configures methods
- Store Admin → Order Settings: configures orders
- Payment Settings → Mollie API: retrieves methods
- Payment Settings → PrestaShop: saves settings
- Order Settings → PrestaShop: saves settings
- Store Admin → Subscription Admin: manages subscriptions
- Subscription Admin → Subscription Grid: loads grid
- Subscription Grid → Store Orders: queries store data
- Mollie API → Subscription Webhooks: sends events
- Mollie API → Subscription Updates: sends updates
- Subscription Webhooks → Recurring Orders: handles lifecycle
- Subscription Updates → Recurring Orders: updates recurring
- Recurring Orders → Subscription API: uses subscription API
- Shopper → Apple Pay AJAX: requests Apple Pay
- Apple Pay AJAX → Session Handler: dispatches command
- Session Handler → Apple Pay API: requests session
- Apple Pay API → Mollie API: requests session