These docs are for v3.2.6. Click to read the latest docs for v4.3.0.

osCommerce 2.3.4.1

Preparation

2C2P provides payment solution to your osCommerce 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 osCommerce version 2.3.4.1

Installation

You can download plugin from here.

  • Unzip the downloaded file.
  • Copy the files to a directory under your osCommerce application.

Setup

After you copied the file in the correct directory, access the osCommerce Admin panel.

Go to Modules -> Payment

153

Go to Install Module button on right hand side of screen. And Click on Install Module button.

Select the payment module as Credit / Debit Card and Cash Payment (2C2P) from list of payment module.

952

Click on + Install Module button on right hand side of screen.

315
  1. You can enable the 2C2P module and update the relevant sections.
311
  1. During checkout, Customer can select 2C2P Payment and also select previously stored card's (If enabled stored card payment).
641
  1. Customer shall be redirected to 2C2P's payment page, Where they will be able to save their card (Id enabled stored card payment).
607
  1. Customer can see the payment result page.
702

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.