---
title: Magento
slug: e-commerce-plugins/magento
excerpt: Learn how to Install Pine Labs Online Plugin on Magento platform.
sidebar_order: 5
metadata:
  title: Magento Payment Plugin Installation Guide | Pine Labs Online
  description: >-
    Install Pine Labs payment extension for Magento 2.3.4 to 2.4.8. Enable
    secure payment processing with cards, UPI, netbanking, wallets, and EMI
    integration.
  keywords: >-
    Magento payment plugin, Magento payment gateway, Pine Labs Magento, PinePG
    Edge, Magento e-commerce, Magento checkout integration
  robots: index
hidden: false
---
## Overview

<div className="not-prose layout-grid-2-center">
  <div>

Integrating with the Pine Labs Online Magento Plugin enables seamless payment processing through credit cards, debit cards, and EMI options via the PinePG Edge platform. Below is a simple, step-by-step guide to help you install and configure the PinePG Edge Plugin on your Magento site for smooth transactions.

| | |
|---|---|
| **Platform** | Magento |
| **Supported Versions** | `2.3.4v` – `2.4.5v`, and `2.4.7v` – `2.4.8v` |

Learn how to integrate your Magento store with the Pine Labs Online. Watch the video tutorial below for a step-by-step guide.
  </div>
  <div>

<iframe width="100%" height="400" src="https://www.youtube.com/embed/ENO06iMlBy8" title="Magento Integration Walkthrough | Pine Labs Online" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
  </div>
</div>


## Integration Steps

### 1. Download the Extension

1. Download the Pine Labs Magento extension from [GitHub](https://github.com/plural-pinelabs/magento-plugin).
2. Click on `Code`, then select `Download ZIP` to download the extension file.

### 2. Move Files to Magento Directory

1. Unzip the downloaded file.
2. Move the unzipped folder to the `app/code` directory in your Magento installation, where custom code and extensions are stored.

> **Note:** If the `code` folder does not exist within `<root>/app`, create it.

### 3. Run Terminal Commands

Open a terminal and navigate to your Magento root directory (where the `bin` directory and command-line tools are located). Run the following commands to enable the extension:

```bash
php bin/magento module:enable Pinelabs_PinePGGateway
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
php bin/magento cache:clean
```

These commands activate the extension and make it available in Magento.

### 4. Configure the Extension

1. Log in to your Magento backend.
2. Go to **Stores** and **Configuration**.
3. Under **Sales** choose **Payment Methods**, you'll find a list of available payment methods.
4. Locate and select the payment method provided by the extension.
5. Fill in the below following details:
   - **Enable:** Select `Yes` to enable the module.
   - **Title:** Enter a name to display on the checkout page.
   - **Select Cart Type:** Choose between `Single` and `Multi-Cart` options based on your credentials.
   - **Merchant Id:** Enter the ID for the chosen Payment Environment (Test or Live).
   - **Merchant Access Code:** Add the Access Code for the selected Payment Environment.
   - **Merchant Secret:** Enter the Secret for the selected Payment Environment.
   - **Environment:** Choose `Test` for testing or `Live` for actual payments.

<DocImage src="/images/plugins/magento-configure-1779994333722.png" sizing="70%" alt="magento" />


> **Note:** The Merchant Payment Mode field must be left blank, as it is automatically determined based on the merchant's default configuration.

6. After configuration, check the extension on your checkout page.
7. Click **Place Order** to see the payment gateway options.
8. Upon successful payment, you'll be redirected to a success page; otherwise, a failure page will appear.
<DocImage src="/images/plugins/magento-checkout-1779994333470.png"  sizing="50%"   alt="magento" />


> **Note:**
> - Pine Labs plugins do not handle shipping or additional charges (example: `TDR`, `GST`).
> - Ensure that your cart value matches the product value, as any extra charges must be managed manually at the merchant end.
