search

OpenCart

What is OpenCart?

OpenCart is an open-source eCommerce platform for online merchants which provides a professional and reliable foundation to build a successful online store. This foundation appeals to a wide variety of users, ranging from seasoned web developers looking for a user-friendly interface to use to the shop owners just launching their business online for the first time. It has an extensive amount of features that give you a stronghold over the customization of your store. With OpenCart's tools, you can help your online shop live up to its fullest potential.

OpenCart with Paytm

Integrating your OpenCart site with Paytm allows you to accept payments using Paytm Payment Gateway. You can accept payments via Debit Card, Credit Card, Net Banking (supports 3D Secure), UPI or Paytm Wallet.

This extension offers smooth integration, allowing the customer to pay on your website. This extension works across all browsers and ensures compatibility with the latest version of OpenCart.

 

Compatibilities and Dependencies

  • PHP v5.4.0 or higher
  • PHP-curl

Installation

Using Installer

  1. Download paytm_v3.x.ocmod.zip.

  2. Log into OpenCart Webstore Admin.

  3. Navigate to the Admin Panel > Extensions > Extension installer.
     

    Opencart extention installer
  4. Click the Upload button, then select the downloaded zip file (Step 1), then click the Continue button and wait for the process to complete.

  5. Navigate to Extensions > Extensions.

  6. On the Extensions page, select Payments from the dropdown and install the Paytm Gateway extension.
     

    Opencart extention installer
  7. After installation, proceed for configuration.
     

Using FTP

  1. Download a ZIP of the repository.
     

    Prestashop clone
  2. Copy all folders (admincatalog, & system) from the upload directory of the required version, and then paste them into your OpenCart Webstore root directory.

  3. Log into OpenCart Webstore Admin.

  4. Navigate to the Admin Panel > Extensions > Extensions.

  5. On the Extensions page, select Payments from the dropdown and then install the Paytm Gateway extension.
     

    Prestashop clone
  6. After installation, proceed to configuration.


 

Configuration

  1. Log into OpenCart Webstore Admin.
  2. Navigate to Extensions and then select Extensions.
  3. On the Extensions page, select Payments from the dropdown and then install the Paytm Gateway extension.
  4. Save the configuration below.
    Prestashop clone
  5. Save the configuration below.
    • Merchant ID - Enter your Merchant ID provided by Paytm
    • Merchant Key - Enter your Merchant Key provided by Paytm
    • Website - Enter your Website Name provided by Paytm
    • Industry Type - Type of industry such as Retail, Entertainment, etc.
    • Environment - Select the type of environment
    • Order Success Status - Order status that will set for Successful Payment
    • Order Failed Status - Order status that will set for Failed Payment
    • Total - Minimal amount required to make this payment method active
    • Geo Zone - Geo Zone of the payment method to be active
    • Status - Keep this Enabled to accept payment through Paytm
    • Sort Order - Set ordering in the payment methods list
  6. Your Paytm Payment Gateway is enabled. Now you can accept payment through Paytm.

How to generate API Key?

To generate API Key

  1. Log into your Dashboard.
  2. Select API Keys under Developers in the left menu bar.
  3. Select the mode for which you want to generate the API key from the menu.
  4. Click Generate Key to generate key for the test mode and in case of live mode, first activate account by submitting documents then generate key by clicking Generate Key.

Note: You have to generate separate API Keys for the test and live modes. No money is deducted from your account in test mode.

In case of any issues with integration, please get in touch.