|
1 | 1 | # CM.com Payments Magento 2 module
|
2 | 2 |
|
| 3 | +1. [Get started](#get-started) |
| 4 | +2. [Installation & Update the CM.com Payments Magento 2 plugin](#installation--update-the-cmcom-payments-magento-2-plugin) |
| 5 | +2. [About CM.com Payments](#about-cmcom-payments) |
| 6 | +3. [Supported CM.com Payments Methods](#supported-cmcom-payments-methods) |
| 7 | +4. [Requirements](#requirements) |
| 8 | +5. [Setup local development environment](#setup-local-development-environment) |
| 9 | +5. [Payment methods](#payment-methods) |
| 10 | + |
3 | 11 | ## Get started
|
4 | 12 |
|
5 | 13 | Before you begin to integrate Magento with the CM.com payments platform, make sure that you have performed the following steps:
|
@@ -102,3 +110,42 @@ bin/magento setup:upgrade
|
102 | 110 |
|
103 | 111 | **Docker setup**
|
104 | 112 | https://github.com/markshust/docker-magento
|
| 113 | + |
| 114 | +## Payment methods |
| 115 | +### Fetch payment methods by order |
| 116 | +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. |
| 117 | + |
| 118 | +## Payment method configuration |
| 119 | +### General |
| 120 | +Each payment method is configurable in Magento. There are a few default settings: |
| 121 | +- Enabled |
| 122 | +- Title |
| 123 | +- Applicable countries |
| 124 | +- Applicable currencies |
| 125 | +- Minimum order total |
| 126 | +- Maximum order total |
| 127 | +- Sort order |
| 128 | + |
| 129 | +**Note** The payment methods will only visible if they enabled in both Magento as CM.com portal. |
| 130 | + |
| 131 | +### CM.com redirect to Menu |
| 132 | +This payment method redirects to the CM.com payment menu. |
| 133 | + |
| 134 | +### Ideal |
| 135 | +This method shows the bank issuers in the Magento checkout and redirects directly to the selected issuer. |
| 136 | + |
| 137 | +### Paypal |
| 138 | +This method directly redirects to the Paypal payment page. |
| 139 | + |
| 140 | +### Creditcard |
| 141 | +All the 'Creditcard' payment methods are mapped under one Magento payment method called `cm_payments_creditcard` |
| 142 | +This includes the following CM.com payment methods: |
| 143 | +`VISA` |
| 144 | +`MASTERCARD` |
| 145 | +`MAESTRO` |
| 146 | + |
| 147 | +**Configuration**\ |
| 148 | +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. |
| 149 | + |
| 150 | +### BanContact |
| 151 | +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. |
0 commit comments