Install the HeyLight (Switzerland) Modules via Composer

The recommended method for installing HeyLight 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

HeyLight 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_HEYLIGHT>" with the token provided to you by our support team.


composer config repositories.heylight composer https://token:<TOKEN_FROM_HEYLIGHT>@heidi-pay.repo.packagist.com/heylight-ch

Step two: Installing the extension

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

Each module is installed by running:

composer require <name>

Where refers to one of the following:

heylight/ch-ratenzahlung  // <------ Buy Now, Pay Later in instalments (0% interest)
heylight/ch-finanzierung // <------- Pay in instalments with interest 

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