# Magento

The PayLater plugin offers merchants the ability to integrate "Buy Now, Pay Later" (BNPL) functionality into their Magento2 stores,&#x20;providing customers with flexible payment options. This comprehensive guide will walk you through the step-by-step installation and&#x20;configuration process for seamless integration.

## Download Plugin

#### **Version 3.0**

**Release Notes:** Webhook, Partail Refund, Full Refund, [Click Here](https://paylater.gitbook.io/paylater-docs/getting-started/pages/bbU2lyf7OAKLT2fIpEcs#release-notes-v3.0-may-17-2026)

**Plugin:**&#x20;

{% file src="/files/Y4ZcU7xtTOOLCDRthSwE" %}

#### **Version 2.0**

**Release Notes:** Reduce JS Loading, and Magento 2.4.8 Compatibility, [Click Here](https://paylater.gitbook.io/paylater-docs/getting-started/pages/bbU2lyf7OAKLT2fIpEcs#release-notes-v2.0-april-30-2026)

**Plugin:**&#x20;

{% file src="/files/Mlj55gm2uNNXSL1deZ0G" %}

#### **Version 1.3**

**Release Notes:** Technical Refactor, UI Enhancements, and Magento 2.4.7 Compatibility, [Click Here](https://paylater.gitbook.io/paylater-docs/getting-started/pages/bbU2lyf7OAKLT2fIpEcs#release-notes-v1.3-january-28-2026)

**Plugin:**&#x20;

{% file src="/files/Ro8V3ilzJHCOIVOcVSWc" %}

#### **Version 1.2**

**Release Notes:** Initial Launch, Core Payment Gateway Integration, [Click Here](https://paylater.gitbook.io/paylater-docs/getting-started/pages/bbU2lyf7OAKLT2fIpEcs#release-notes-v1.2-march-28-2025)

**Plugin:**&#x20;

{% file src="/files/pOJB132GR7HeiVHRA5nL" %}

## Manual Setup

* In your Magento2 root directory, navigate to **\[ROOT]/app/code/** and create a folder called PayLater/PayLaterpay
* Unzip the PayLater plugin in that folder
* Enable PayLater by running the following command in your command line interface:

```
php bin/magento module:enable PayLater_PayLaterpay
```

* Run the following commands sequentially

```
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
```

#### Frontend Widgets

PLP Product List Page

<figure><img src="/files/LjCtyRlRWG8gyxC7EJU1" alt=""><figcaption></figcaption></figure>

PDP Product Detail Page

<figure><img src="/files/spTbYrsVE26SwmbYRc3w" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/77GjyBMTs8mf3d4c6Fr7" alt=""><figcaption></figcaption></figure>

Login to your Magento Admin Panel.

<figure><img src="/files/417QxXnvtFk7A88gwFt8" alt=""><figcaption></figcaption></figure>

## Admin Configurations

Admin Configuration is a crucial step in setting up the&#x20;PayLater&#x20;plugin in your Magento2 store. In this section, you'll access the Magento Admin Panel and navigate through specific settings to tailor the\
PayLater&#x20;payment gateway according to your preferences.

* Log in to your Magento Admin Panel.
* Navigate to  &#x20;Stores > Configuration > Sales > Payment Methods  &#x20;and expand  &#x20;OTHER PAYMENT METHODS  &#x20;tab. You will see  &#x20;PayLater  &#x20;Show Now Pay Later option.

<figure><img src="/files/XZEcQpzikpez23lOFhXY" alt=""><figcaption></figcaption></figure>

## Payment Settings

* Under Payment Settings, you may enable or disable this payment option.
* Set the  &#x20;Payment Mode  &#x20;to "Live" for the live environment and "Sandbox" for testing.
* You need to get your  &#x20;Merchant ID and Outlet ID  &#x20;from your  &#x20;PayLater Account Manager
* Enter your  &#x20;Merchant ID  &#x20;and  &#x20;Outlet ID  &#x20;provided here. These credentials are crucial for secure communication between your store and the PayLater platform.

<figure><img src="/files/92xUYc94s6ZZH1PhSCay" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/lbOKr5lncX3F2IWrdbsA" alt=""><figcaption></figcaption></figure>

* Save the configuration and  &#x20;clear the cache  .

## Testing

To ensure smooth functionality, it's recommended to test the PayLater payment option:

* Add a product to your cart and proceed to checkout
* During checkout, select  &#x20;PayLater  &#x20;as the payment method.
* You will be redirected to the secure PayLater platform to complete the BNPL payment process.
* Use test shopper account provided in Testing Credentials
* Please use 300 QAR as the amount to test


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://paylater.gitbook.io/paylater-docs/getting-started/publish-your-docs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
