search

Payment Gateway Integration in Woocommerce

What is WooCommerce?

WooCommerce is an open-source eCommerce plugin for WordPress. It is designed for small to large-sized online merchants using WordPress.

WooCommerce with Paytm

Integrating your WooCommerce 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 through Paytm wallets. The plugin offers smooth integration, allowing the customer to pay on your website. This plugin works across all browsers and ensures compatibility with the latest version of WooCommerce.

 

Before you begin to integrate the Paytm Payment Gateway on Woocommerce, make sure you have a registered business account with Paytm. To create the same, refer to the section Generate your API Keys.

 

Video Tutorial

Watch in the video below to learn how to integrate Paytm Payment Gateway with your WooCommerce website.

 

Generate your API keys with Paytm

Note:
  1. You have to generate separate API Keys for the test and live modes. No money is deducted from your account in test mode.
  2. MID and merchant keys generation may take few minutes. In case you do not see these details, please logout and login after 5 minutes. Proceed now to generate these keys.

Compatibilities and Dependencies

  • Wordpress v3.9.2 or higher
  • Woocommerce v2.4 or higher
  • PHP v5.6.0 or higher
  • Php-curl

Installation

  1. Download a ZIP of the repository.


    woocommmerce repository image
  2. Unzip and open the downloaded folder.

  3. Copy the Paytm-payments folder from the unzipped folder.

  4. Paste it into /wp-content/plugins/ directory or you may choose to upload the Paytm folder via the Woocommerce Webstore Admin panel.

 

Configuration

Note: This plugin (version 2.6.3 or higher) supports EMI Subvention and Bank offers, please reach out to us through Contact Us or your KAM to enable EMI Subvention and Bank Offers for your MID.
  1. Log into your WordPress admin and activate the Paytm plugin in WordPress Plugin Manager.

  2. Log into your WooCommerce Webstore account, navigate to Settings and click the Checkout/Payment Gateways tab.

  3. Scroll down to the Checkout page and go to the setting option of Paytm under Gateway Display.

  4. Click on Paytm to edit the settings. If you do not see Paytm in the list at the top of the screen make sure you have activated the plugin in the WordPress Plugin Manager.

  5. Fill in the following credentials.

     

     

    • Description- Default
    • Environment- Select Environment Type: Test/Staging or Production
    Note: You can refer the Merchant Dashboard for the following parameters.

    • Test/Production MID - Enter your Merchant ID for test or production environment
    • Test/Production Secret Key - Enter your Merchant Key for test or production environment
    • Website (Provided by Paytm) - Select WEBSTAGING for test environment and DEFAULT for production environment
    • Enable Webhook- To enable webhook, go to Paytm Dashboard - Webhook and paste your auto generated webhook url there.
    • Enable EMI Subvention - Select "Yes" to provide Zero/Low cost EMI
    • Enable Bank Offers - Select "Yes"  to provide Bank Offers
    • Enable DC EMI - Select "Yes" to provide EMI on Debit Card
      Note: This plugin (version 2.6.3 or higher) supports Debit Card EMI, send us the user mobile number in order to check the user’s Debit Card EMI eligibility and show the applicable banks name.
    • Enable Invert Logo - By default it is "No". Select "Yes"  to enable invert logo.

      Note: You can select "Yes" if you are using dark-colored theme for your website.

    • Enable/Disable - Enable or disable Paytm Payments. It is enabled by default.

    Your Paytm payment gateway is enabled. You can now accepting payments through Paytm.

     

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