PHPackages                             cmdotcom-plugins/magento2-payments - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. cmdotcom-plugins/magento2-payments

ActiveMagento2-module

cmdotcom-plugins/magento2-payments
==================================

CM Payment module for Magento 2

1.4.3(5mo ago)06.3k↓48%4OSL-3.0PHPPHP ~7.2.0||~7.3.0||~7.4.0||~8.1.0||~8.2.0||~8.3.0||~8.4.0CI passing

Since Jan 18Pushed 4mo ago7 watchersCompare

[ Source](https://github.com/cmdotcom-plugins/pay-ext-magento2)[ Packagist](https://packagist.org/packages/cmdotcom-plugins/magento2-payments)[ RSS](/packages/cmdotcom-plugins-magento2-payments/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (10)Versions (29)Used By (0)

CM.com Payments Magento 2 module
================================

[](#cmcom-payments-magento-2-module)

1. [Get started](#get-started)
2. [Installation &amp; Update the CM.com Payments Magento 2 plugin](#installation--update-the-cmcom-payments-magento-2-plugin)
3. [About CM.com Payments](#about-cmcom-payments)
4. [Supported CM.com Payments Methods](#supported-cmcom-payments-methods)
5. [Requirements](#requirements)
6. [Setup local development environment](#setup-local-development-environment)
7. [Payment methods](#payment-methods)
8. [Issues and support](#issues-and-support)

Get started
-----------

[](#get-started)

Before you begin to integrate Magento with the CM.com payments platform, make sure that you have performed the following steps:

1. Sign up for a test account with CM.com Payments at [https://www.cm.com/register/?app=81e52ab7-4cfc-4b89-8ae8-f5be73bab15d&amp;product=PAYMENTMETHODS](https://www.cm.com/register/?app=81e52ab7-4cfc-4b89-8ae8-f5be73bab15d&product=PAYMENTMETHODS)
2. Create a payment method profile in the CM Portal
3. Install and configure the magento module

Installation &amp; Update the CM.com Payments Magento 2 plugin
--------------------------------------------------------------

[](#installation--update-the-cmcom-payments-magento-2-plugin)

1. Installation by Composer

    ```
    composer require cmdotcom-plugins/magento2-payments

    ```

    ```
    php bin/magento module:enable CM_Payments
    php bin/magento setup:upgrade
    php bin/magento cache:clean

    ```

    If Magento® is running in production mode, deploy the static content:

    ```
    php bin/magento setup:static-content:deploy

    ```
2. Update by Composer

    ```
    composer update cmdotcom-plugins/magento2-payments

    ```

    ```
    php bin/magento setup:upgrade
    php bin/magento cache:clean

    ```

    If Magento® is running in production mode, deploy the static content:

    ```
    php bin/magento setup:static-content:deploy

    ```
3. Configuration

    To configure the CM.com Payments extension you can go to your Magento® 2 admin portal, to **Stores** &gt; **Configuration** &gt; **CM.com Payments**

    1. **General settings:** Set ‘Enabled’ to ‘Yes’
    2. **General settings:** Enter the Test and/or API key of your webshop. You received the API credentials by email from CM.com Payments ([register link](https://www.cm.com/register/?app=81e52ab7-4cfc-4b89-8ae8-f5be73bab15d&product=PAYMENTMETHODS))
    3. **General settings:** Set payment method profile that is configured in the CM Portal
    4. **Payment methods:** Configure each payment method you would like to offer in your webshop
    5. **Magento:** Refresh the caches after saving the configuration

About CM.com Payments
---------------------

[](#about-cmcom-payments)

Supported CM.com Payments Methods
---------------------------------

[](#supported-cmcom-payments-methods)

- iDEAL, iDEAL QR
- Banktransfer
- Credit Cards (American Express, Mastercard, Maestro, Visa, V-Pay)
- Bancontact, Bancontact Mobile
- Sofortüberweisung, EBanking
- Paysafecard
- ELV
- Giropay
- KBC, CBC
- Belfius Pay Button
- ING Home Pay
- Giftcards
- Point of Sale
- Apple Pay, Apple Business Chat
- Google Pay
- PayPal
- Sepa Direct Debit
- Afterpay
- Klarna
- Przelewy24, BLIK

For more details on the configuring see the payment methonds section below.

Requirements
------------

[](#requirements)

- Magento Open Source / Enterprise version 2.3.x &amp; 2.4.x
- PHP 7.2+

Setup local development environment
-----------------------------------

[](#setup-local-development-environment)

Setup local development environment with installed extension

```
mkdir extensions
git clone git@github.com:cmdotcom-plugins/pay-ext-magento2.git
composer config repositories.dev-extensions path extensions/*
composer require cmdotcom-plugins/magento2-payments:@dev
bin/magento module:enable CM_Payments
bin/magento setup:upgrade

```

**Docker setup**

Payment methods
---------------

[](#payment-methods)

### Fetch payment methods by order

[](#fetch-payment-methods-by-order)

The CM.com API requires an order to retrieve all the payment methods, to accomplish this in the Magento checkout this module creates a temporary order based on the Magento quote. These temporary orders will always have a 'Q\_' prefix.

Payment method configuration
----------------------------

[](#payment-method-configuration)

### General

[](#general)

Each payment method is configurable in Magento. There are a few default settings:

- Enabled
- Title
- Applicable countries
- Applicable currencies
- Minimum order total
- Maximum order total
- Sort order

**Note** The payment methods will only visible if they enabled in both Magento and the CM.com Portal.

### CM.com redirect to Menu

[](#cmcom-redirect-to-menu)

This payment method redirects to the CM.com payment menu. In the payment menu you will see all available payment methods as configured in the CM.com Portal.

### iDEAL

[](#ideal)

This payment method redirects to the ideal payment menu.

### Paypal

[](#paypal)

This method directly redirects to the Paypal payment page.

### ELV

[](#elv)

ELV (Elektronisches Lastschriftverfahren) is a payment method used mainly in Germany. This method directly redirects to the ELV payment page.

### Klarna

[](#klarna)

This method directly redirects to the Klarna payment page. Klarna requires a birthdate of the shopper which is requested in the Magento checkout.

### Creditcard

[](#creditcard)

All the 'Creditcard' payment methods are mapped under one Magento payment method called `cm_payments_creditcard`This includes the following CM.com payment methods: `VISA``MASTERCARD``MAESTRO`

**Configuration**

The creditcard payment redirects to the CM.com payment menu. It's recommended to create a separate 'Creditcard' payment profile in the CM.com portal to show only the credit card methods in the CM.com payment menu.

### BanContact

[](#bancontact)

The BanContact payment redirects to the CM.com payment menu. It's recommended to create a separate 'BanContact' payment profile in the CM.com portal to show only the BanContact method in the CM.com payment menu.

### Afterpay

[](#afterpay)

The BanContact payment redirects to the CM.com payment menu. It's recommended to create a separate 'Afterpay' payment profile in the CM.com portal to show only the Afterpay method in the CM.com payment menu.

### KBC

[](#kbc)

The KBC payment redirects to the CM.com payment menu. It's recommended to create a separate 'KBC' payment profile in the CM.com portal to show only the KBC method in the CM.com payment menu.

### Belfius

[](#belfius)

The Belfius payment redirects to the CM.com payment menu. It's recommended to create a separate 'Belfius' payment profile in the CM.com portal to show only the Belfius method in the CM.com payment menu.

Webhook
-------

[](#webhook)

In order to get status updates from CM.com it's required to configure a webhook in the CM.com portal. The url for this webhook is: `{{shop_url}}/cmpayments/payment/notification?id={{increment_id}}`

Issues and support
------------------

[](#issues-and-support)

You can create issues on our Github repository. If you have other questions, or need specific payment methods in your test account, contact us at

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance73

Regular maintenance activity

Popularity26

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity77

Established project with proven stability

 Bus Factor1

Top contributor holds 86.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~78 days

Recently: every ~87 days

Total

19

Last Release

169d ago

PHP version history (5 changes)1.0.0PHP ~7.3.0||~7.4.0

1.1.3PHP ~7.3.0||~7.4.0||~8.1.0

1.2.1PHP ~7.3.0||~7.4.0||~8.1.0||~8.2.0

1.3.3PHP ~7.2.0||~7.3.0||~7.4.0||~8.1.0||~8.2.0||~8.3.0

1.4.3PHP ~7.2.0||~7.3.0||~7.4.0||~8.1.0||~8.2.0||~8.3.0||~8.4.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/f29c2362947fce60b2617c61f3b19e4a4dd53d9fdadd2b5a7a5a81841dbbe2b5?d=identicon)[baspeters](/maintainers/baspeters)

---

Top Contributors

[![stijnvandervegt](https://avatars.githubusercontent.com/u/3787320?v=4)](https://github.com/stijnvandervegt "stijnvandervegt (225 commits)")[![bricht](https://avatars.githubusercontent.com/u/4758857?v=4)](https://github.com/bricht "bricht (26 commits)")[![michielgerritsen](https://avatars.githubusercontent.com/u/5858697?v=4)](https://github.com/michielgerritsen "michielgerritsen (5 commits)")[![Inkasatori](https://avatars.githubusercontent.com/u/28838818?v=4)](https://github.com/Inkasatori "Inkasatori (4 commits)")[![bbakalov](https://avatars.githubusercontent.com/u/9625352?v=4)](https://github.com/bbakalov "bbakalov (1 commits)")

---

Tags

idealcreditcardklarnabancontactrefundsmagento2visamagento 2directdebitMaestrocmelvcmpaymentsv-pay

### Embed Badge

![Health badge](/badges/cmdotcom-plugins-magento2-payments/health.svg)

```
[![Health](https://phpackages.com/badges/cmdotcom-plugins-magento2-payments/health.svg)](https://phpackages.com/packages/cmdotcom-plugins-magento2-payments)
```

###  Alternatives

[mollie/magento2

Mollie Payment Module for Magento 2

1121.6M10](/packages/mollie-magento2)[dotdigital/dotdigital-magento2-extension

Dotdigital for Magento 2

50374.2k18](/packages/dotdigital-dotdigital-magento2-extension)[mollie/mollie-api-php

Mollie API client library for PHP. Mollie is a European Payment Service provider and offers international payment methods such as Mastercard, VISA, American Express and PayPal, and local payment methods such as iDEAL, Bancontact, SOFORT Banking, SEPA direct debit, Belfius Direct Net, KBC Payment Button and various gift cards such as Podiumcadeaukaart and fashioncheque.

60014.4M62](/packages/mollie-mollie-api-php)[pagbank/payment-magento

PagBank - Payment for Magento and Adobe

2128.3k7](/packages/pagbank-payment-magento)[mollie/magento

iDEAL, Creditcard, Bancontact/Mister Cash, SOFORT, Bank transfer, Bitcoin, PayPal &amp; paysafecard for Magento https://www.mollie.com/

397.9k](/packages/mollie-magento)[o2ti/sigep-web-carrier

O2TI - Sigep Web Carrier

141.5k](/packages/o2ti-sigep-web-carrier)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
