Menu

OpenCart

Updated time: Jul 23, 2020 , 10:50 (UTC+03:00)

PayCEC provides OpenCart payment gateway extension sample code, includes integration and configuration information.

1. Download and Include

Download link: paycec_opencart_2.1.zip Checksum SHA1: 7F7B123581CF135EB7DAB56C9A3E65D792C099A1

2. Integrating

The integrating requirement followed by:

  • A PayCEC Merchant account (Merchant’s ID and Merchant secret key).
  • Our example code. (download at step 1)
  • Unzip and select the appropriate version.

        2.1. Version: 1.5, 2.0 and 2.3

  • Copy all the file and paste it at your OpenCart  root directory.

OpenCart_DIR>/admin/*

OpenCart_DIR>/catalog/*

OpenCart_DIR>/image/*

  • Login to OpenCart administration, click on extension menu and click on Payments submenu.
  • You will see list of payment method available on your OpenCart. Click on [Install] link for PayCEC Payment Gateway to install this module into your online store.
  • After you’ve successfully install this module, you need to click on [Edit] link for PayCEC Payment Gateway option to configure this payment module in your OpenCart online store.
  • Fill in your PayCEC Merchant ID & PayCEC Merchant Secret Key into the respective fields.
  • Use the LIVE or TESTING (sandbox) gateway server to process transactions ?
  • Save the configuration and done.

        2.2 Version: 3.x

1. Unzip file wpc_opencart_2.1.zip

Unzip file wpc_opencart_2.1.zip

2. Login to your Opencart Admin. Click on Extensions menu on the left sidebar > click on Installer sub-menu > click on Upload button.

Click on Extensions menu on the left sidebar > click Installer sub-menu

3. Select file wpc.ocmod.zip in extracted folder wpc_opencart_2.1 > 3.x-opencart and click Open button.

Select file

4. Wait until the progress show a green message “Success: You have modified extensions”.

Upload successfully

5. Click on Extensions menu > click on Extensions sub-menu > Select Choose the extension type is Payments then scroll down to find PayCEC Payment Gateway and then click on Install button of PayCEC Payment Gateway record.

6. Click on Edit button.

Click on Edit button

• LIVE MODE IF YOU’RE READY TO GO LIVE

1. Go to PayCEC My account at link https://www.paycec.com/myaccount, select your Merchant, click Integration Menu on the left sidebar and disable View test data. We will need to copy Merchant Username and Secret Key to Opencart Admin.

Go to PayCEC My account at link https://www.paycec.com/myaccount, select your Merchant, click Integration Menu on the left sidebar and disable View test data. We will need to copy Merchant Username and Secret Key to Opencart Admin.

2. Change Status value to Enable.
You need to paste Merchant Username and Secret Key.
Change Sandbox Mode is No.
Click on Save changes button.

Select Status is Enable. You need to paste Merchant Username and Secret Key. Select Sandbox Mode is No. Click on Save changes button.

 

• OR TEST MODE

1. Go to PayCEC My account at link https://www.paycec.com/myaccount, select your Merchant, click Integration Menu on the left sidebar and enable Viewing test data. We will need to copy Merchant Username and Secret Key to Opencart Admin.

Go to PayCEC My account at link https://www.paycec.com/myaccount, select your Merchant, click Integration Menu on the left sidebar and disable View test data. We will need to copy Merchant Username and Secret Key to Opencart Admin.

2. Change Status value to Enable.
You need to paste Merchant Username and Secret Key.
Change Sandbox Mode is Yes.
Click on Save changes button.

Select Status is Enable. You need to paste Merchant Username and Secret Key. Select Sandbox Mode is No. Click on Save changes button.

Related: Payment Gateway Integration Developer (Detailed version)

Related Sources

How can we help?

How can we help? All information entered on this form will be kept strictly confidential and subject to our privacy policy once received by us. Your transaction will be secured using SSL/TLS encryption.