Installing the extension

Raylo Pay module for the Magento platform

Installation

The extension is available to be installed as a Composer module from Raylo’s Repman.io instance, accessible with an access token. You'll get an access token from Raylo when discussing the integration.

To be able to access the module, configure the authentication to Repman.io in auth.json:

{
    "http-basic": {
        "raylo.repo.repman.io": {
            "username": "token",
            "password": “<access token here>”
        }
    },
    // ... other auth configs
}

You can then add the repository with:

composer config repositories composer.raylo.repo.repman.io https://raylo.repo.repman.io

And install the package with:

composer require raylo/raylopay

Finally, run the usual Magento commands to set up new packages (i.e. bin/magento set:up, bin/magento set:di:compile, etc).

Customisation / placement

The plug-in adds a new block to the product page and adds a new payment method in the checkout.

These are the default placements of the widget in the product page, move them around to match your theme.

Luma theme

In the Luma theme, the product page block is named raylo.product.lease.info and is placed after product.price.tier.

Hyva theme

In the Hyva theme, the product page block is named raylo.product.lease.info.hyva and is also placed after product.price.tier.

The Plug-in assumes that the Luma checkout is used with the Hyva theme.

Last updated

Was this helpful?