Developer ZoneRecipesAPI ReferenceChangelog
Developer Zone
These docs are for v3.2.6. Click to read the latest docs for v4.3.0.

OpenCart 3

Preparation

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

Installation

You can download the OpenCart plugin from here.

  • Unzip the file.
  • Copy the files to under your OpenCart folder.

Setup

Access the admin panel. Find the options **Extension **> Extension.

pyisoeyz_20171005101032

Search 2C2P in the Payments List. Click + Button to enable the plugin

PQZvlRDmRhC9FEPPprlT_opencart_2c2

After installation, click the **Edit **button.

D12aLhN5QHCEKft6AJAR_opencart_edit
  1. Change status to 'Enabled' and add the required information.
Screenshot-1

After the form is completed, save the changes

  1. During checkout, Customer can select 2C2P Payment method.
Screenshot-6
  1. Customer can also select previously stored card's (If enabled stored card payment by Merchant).
Screenshot-7
  1. Customer shall be redirected to 2C2P's payment page, Where they will be able to save their card (If enabled stored card payment).
Screenshot-8
  1. Customer can see the payment result page.
Screenshot-9

[block:api-header]

[/block]

Reference

**Name ****Description ****Comment **
Enable/StatusEnable/Disable the pluginIf disabled, it will not show 2C2P on the checkout page
ModeTest/Live Mode of payment getaway plugin
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 select yes.
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.