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

Installation

  • You can download the plugin here.
  • Unzip the downloaded file.
  • Copy the files to a directory under your Magento application.

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/StatusEnable/Disable the pluginIf disabled , it will not show 2C2P on the checkout page
TitleTitle to be displayed to userUser will see this title on the checkout page
ModeRequest submitted to test server or production server
Merchant IDMID as shown in the 2C2P merchant interface
Secret KeySecret key from the 2C2P merchant interface
StoredCard PaymentEnable/Disable Store-card paymentEnable the stored card payment when you stick the checkbox.
1-2-3 payment expiryPayment validity duration for 1-2-3 paymentPayment validity duration for 1-2-3 Payment, In hours between (8-720).
LanguageSelect Payment gateway supported language. Default language is English.