Magento 2
Preparation
2C2P provides payment solution to your Magento-2 webstore. We allow you to accept payments from Credit/Debit Cards, Alipay, or Alternative/Cash Payments using local counter services. Additional details on the payment process and configuration can be found in the Redirect API section of this page.
2C2P is available in :
- Singapore
- Thailand
- Myanmar
- Indonesia
- Malaysia
- Philippines
- Hong Kong
In order to connect to 2C2P with the plugin you will need a sandbox account or a test account.
Support for Magento 2 Framework
version 2.2.x
version 2.3.x
version 2.4.x
New Installation
- You can download the plugin here.
- Unzip the downloaded file.
- Copy the files to a directory under your Magento application.
For Update Version
- Navigate to your database table and locate table "setup_module".
- Remove "P2c2p_P2c2pPayment" from the table so that it will rerun the installation back.
- Extract the files and replace the current files in app/code/P2c2p folder
Setup
After you copied the file in the correct directory. Access the command prompt using Administrator. Before make sure you have installed the Php Dependency Manager - Composer on machine to run Magento-2 command.
Type command on Magento-2 installation directory -> php bin/magento setup:upgrade

Go to System -> Cache Management

Use the Select All option

Open the item Flush Magento Cache. Next click on Flush Cache Storage.
Go to Stores -> Configuration

Now select SALES -> Payment Methods from the sidebar.

1. You can enable the 2C2P module and update the relevant sections.

2. During checkout, Customer can select 2C2P Payment and also select previously stored card's (If enabled stored card payment).

3. Customer shall be redirected to 2C2P's payment page, Where they will be able to save their card (Id enabled stored card payment).

4. Customer can see the payment result page.

Reference
Name | Description | Comment |
---|---|---|
Enable/Status | Enable/Disable the plugin | If disabled , it will not show 2C2P on the checkout page |
Title | Title to be displayed to user | User will see this title on the checkout page |
Mode | Request submitted to test server or production server | |
Merchant ID | MID as shown in the 2C2P merchant interface | |
Secret Key | Secret key from the 2C2P merchant interface | |
StoredCard Payment | Enable/Disable Store-card payment | Enable the stored card payment when you stick the checkbox. |
1-2-3 payment expiry | Payment validity duration for 1-2-3 payment | Payment validity duration for 1-2-3 Payment, In hours between (8-720). |
Language | Select Payment gateway supported language. Default language is English. |
Updated about 4 years ago