Install the HeidiPay Module via Composer

The recommended method for installing HeidiPay or Pagolight modules and their dependencies

We recommend this as the default method of installation because Composer will ensure that you have all of the latest files and their dependencies. Copying, pasting, and unzipping files is open to error.

General

HeidiPay is hosted in a private composer repository. To download the extension, you need to set up composer repository with the correct repo URL. There are two steps you need to take.

Step 1: Adding the repository to your project

Add the repository by running the following command(s) replacing the text "<TOKEN_FROM_HEIDIPAY>" with the token provided to you by our support team.


composer config repositories.heidi-pay composer https://token:<TOKEN_FROM_HEIDIPAY>@heidi-pay.repo.packagist.com/heidipay-merchant

Step two: Installing the extension

If you followed previous steps, you are eligible to install HeidiPay modules.

Each module is installed by running:

composer require <name>

Where refers to one of the following:

heidipay/heidipay  // <------ Buy Now, Pay Later in instalments (0% interest)
heidipay/heidipay-credit //<- Pay in instalments with interest 

After installation, run magento setup:upgrade and any native build commands your installation requires.