---
updatedAt: 2025-11-10T13:31:06.000Z
agentTools:
  projectIndex: https://docs.mondu.ai/llms.txt
---

# Magento2 - Installation guide

# Introduction

Mondu plugin for Magento makes it possible for merchants to offer a Mondu BNPL (Buy now, pay later) service to B2B customers.

The Mondu BNPL  will be offered at checkout as an additional payment method.

Customers can use the convenient 30-day delayed payment option, while the merchant will be paid shortly after shipment of the goods or provision of the services.

In this process, Mondu takes the full credit risk and will also handle dunning and payment reminders.

***

## Installation guidelines

***

## System requirements

The plugin requires Magento version 2.2.10 or higher and php version 7.1 or higher. Please make sure you have these requirements met before the installation.

## Source Code

Plugin source code can be found at:

* [Github](https://github.com/mondu-ai/magento2-checkout)
* [Packagist](https://packagist.org/packages/mondu/magento2-payment)

## Mondu’s API Key

To properly configure the plugin after installation you will require an API key provided by Mondu. If you do not have one please contact us by clicking [here](https://www.mondu.ai/contact/).

## Features

Mondu’s plugin for Magento implements following features

* Create Order
  * Adjust Order
  * Cancel Order
* Create Invoice
  * Cancel Invoice
  * Create Credit Note
* Order Webhook

providing full support of the order live cycle.

***

## Installation

The plugin must be installed via Composer a dependency Manager for PHP that automatically downloads plugin’s source code

**1. Navigate to the** root directory **of your magento2 installation and perform the following tasks.**

**2. Add Mondu’s Plugin package to composer’s dependencies by executing:**

* ```
  composer require mondu/magento2-payment
  ```

**3. Upgrade the Magento database schema and data by executing:**

* ```
  php bin/magento setup:upgrade
  ```

**4. Finally clear the Magento’s cache:**

* ```
  php bin/magento setup:di:compile 
  ```
* ```
  php bin/magento cache:clean
  ```

After successful installation Mondu BNPL solution should be available in the Admin Panel among other **Payment Methods**.

***

## Configuration

* **Login to Magento2 Admin Panel and navigate to:**
  * Stores > Configuration > Sales > Payment Methods
* **Find Mondu plugin and select configure.**

### API Configuration

* **Sandbox mode**
  * Yes - if you want to test Mondu on sandbox environment
  * No - if you are ready to go live
* **Send order line items**
  * Yes - Information about the product in the basket are sent to Mondu.
  * No - Information about the product in the basket are not sent to Mondu.
* **Mondu api key**
  * Set the key provided by Mondu that corresponds to the sandbox or production environment.
* **Require Invoice for Shipment**
  * Yes - An invoice is required in order to ship an order and send the invoice to Mondu
  * No - Shipments can be done without an invoice in Magento

### General Configuration

* **Title**
  * Modify the Title that will appear next to the Mondu payment method.
* **Payment from applicable Countries**
  * Select countries for which you want to offer Mondu.
* **Enable automatic order processing**\
  This setting is useful if you use other means than the Magento Backend to create invoices (e.g. ERP Systems).
  * Yes - Enables a cronjob that looks for invoices that were not sent to Mondu yet and synchronizes them with Mondu
  * No - Invoices are only sent to Mondu after a manual action in Magento
* **Enable logs**\
  This setting enables the logging of Mondu-related activities in var/log/mondu.log.

<Image align="center" border={true} src="https://files.readme.io/da4d69b-Configuration-Settings-Stores-Magento-Admin.png" className="border" />

<br />

<Image align="center" border={true} src="https://files.readme.io/857320852f4704d708a0ad1c891369d5af6fd4795d08e4241bd6b6fc50457b0a-Screenshot_2024-09-13_at_13.36.44.png" className="border" />

<br />

<Image align="center" border={true} src="https://files.readme.io/7e0edef81548e24bfae20778030ecb5449777f60823725be7f9eebd426d5be62-Screenshot_2024-09-13_at_13.36.24.png" className="border" />

After that, the “Mondu checkout” option should appear in the Magento2 checkout page.

<Image align="center" alt={1600} border={true} width="100%" src="https://files.readme.io/cbe1bb7-2._checkout_page.png" title="2. checkout_page.png" className="border" />

You can change the label text by modifying the Title in the plugin configuration. If you want to change the logo you’ll need to overwrite the background attribute of label\[for=mondu] CSS selector.

### Mondu Logs

If the "Mondu Logs" option is enabled, one can find Mondu plugin logs in var/log/mondu.log located in the root of the Magento installation.

### Direct invoice upload from ERP/CRM System

1. Set the Require Invoice for Shipment in Mondu [plugin configuration](https://docs.mondu.ai/docs/magento2-installation-guide#api-configuration) to "No".
2. Transfer Mondu Order UUID to the ERP/CRM system. The Mondu Order UUID can be found in the table mondu\_transaction in Magento database in the column reference\_id.
3. Alternatively, you can trigger [GET Orders](https://docs.mondu.ai/reference/get_api-v1-orders) request directly from the ERP with the filter for Order ID to retrieve ORDER UUID. You can filter for orders with specific  order ID by applying the attribute **match\_external\_reference\_id** in the GET Order request, i.e. [https://api.demo.mondu.ai/api/v1/orders?match\_external\_reference\_id=\<EXT-ID](https://api.demo.mondu.ai/api/v1/orders?match_external_reference_id=<EXT-ID)>.
4. Implement [Create Invoice Request](https://docs.mondu.ai/reference/post_api-v1-orders-order-uuid-invoices), [Cancel Invoice](https://docs.mondu.ai/reference/post_api-v1-orders-order-uuid-invoices-uuid-cancel), [Create Credit Note](https://docs.mondu.ai/reference/post_api-v1-invoices-invoice-uuid-credit-notes), [Cancel Credit Note](https://docs.mondu.ai/reference/post_api-v1-invoices-invoice-uuid-credit-notes-uuid-cancel) in the ERP/CRM to keep the invoice and credit note in sync with Mondu System.

# Sibling pages

* [Shopware 6 - Installation guide](https://docs.mondu.ai/docs/shopware-6-installation-guide.md)
* [Shopware 6 - Usage guide](https://docs.mondu.ai/docs/shopware-6-usage-guide.md)
* [Magento2 - Usage guide](https://docs.mondu.ai/docs/magento2-usage-guide.md)
* [Magento 2 - Magento additional costs](https://docs.mondu.ai/docs/magento-2-magento-additional-costs.md)
* [WooCommerce - Installation guide](https://docs.mondu.ai/docs/woocommerce-installation-guide.md)
* [WooCommerce - Usage guide](https://docs.mondu.ai/docs/woocommerce-usage-guide.md)
* [JTL Shop 5 - Installation guide](https://docs.mondu.ai/docs/jtl-shop-5-installation-guide.md)
* [JTL WaWi - Configuration guide](https://docs.mondu.ai/docs/jtl-wawi-configuration-guide.md)
* [Shopify Payment App](https://docs.mondu.ai/docs/shopify-payment-app.md)