Download the PHP package cmdotcom-plugins/magento2-payments without Composer

On this page you can find all versions of the php package cmdotcom-plugins/magento2-payments. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package magento2-payments

CM.com Payments Magento 2 module

  1. Get started
  2. Installation & Update the CM.com Payments Magento 2 plugin
  3. About CM.com Payments
  4. Supported CM.com Payments Methods
  5. Requirements
  6. Setup local development environment
  7. Payment methods
  8. Issues and support

    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&product=PAYMENTMETHODS
  2. Create a payment method profile in the CM Portal
  3. Install and configure the magento module

Installation & Update the CM.com Payments Magento 2 plugin

  1. Installation by Composer

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

  2. Update by Composer

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

  3. Configuration

    To configure the CM.com Payments extension you can go to your Magento® 2 admin portal, to Stores > Configuration > 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)
    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

https://www.cm.com/payments

Supported CM.com Payments Methods

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

Requirements

Setup local development environment

Setup local development environment with installed extension

Docker setup

https://github.com/markshust/docker-magento

Payment methods

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

General

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

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

CM.com 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

This method shows the bank issuers in the Magento checkout and redirects directly to the selected issuer.

Paypal

This method directly redirects to the Paypal payment page.

ELV

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

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

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

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

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

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

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

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

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 [email protected]


All versions of magento2-payments with dependencies

PHP Build Version
Package Version
Requires php Version ~7.3.0||~7.4.0||~8.1.0||~8.2.0
magento/framework Version ^102|^103
magento/module-backend Version ^101.0|^102.0
magento/module-config Version ^101.0
magento/module-checkout Version ^100.2
magento/module-customer Version ^102.0|^103.0
magento/module-directory Version ^100.2
magento/module-payment Version ^100.2
magento/module-quote Version ^101.0
magento/module-sales Version ^102.0||^103.0
guzzlehttp/guzzle Version ^6.3 || ^7.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package cmdotcom-plugins/magento2-payments contains the following files

Loading the files please wait ....