Download the PHP package truelayer/magento2 without Composer
On this page you can find all versions of the php package truelayer/magento2. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download truelayer/magento2
More information about truelayer/magento2
Files in truelayer/magento2
Package magento2
Short Description TrueLayer extension for Magento 2
License OSL-3.0 AFL-3.0
Informations about the package magento2
TrueLayer for Magento® 2
The TrueLayer plugin makes it effortless to connect your Magento® 2 catalog with the TrueLayer Payment Services.
Installation
To make the integration process as easy as possible for you, we have developed various plugins for your webshop software package. This is the manual for installing the Magento® 2 Plugin. Before you start up the installation process, we recommend that you make a backup of your webshop files, as well as the database.
There are 2 different methods to install the Magento® 2 extension.
- Install by using Composer
- Install by using the Magento® Marketplace (coming soon!)
Installation using Composer
Magento® 2 use the Composer to manage the module package and the library. Composer is a dependency manager for PHP. Composer declare the libraries your project depends on and it will manage (install/update) them for you.
Check if your server has composer installed by running the following command:
If your server doesn’t have composer installed, you can easily install it by using this manual: https://getcomposer.org/doc/00-intro.md
Step-by-step to install the Magento® 2 extension through Composer:
- Connect to your server running Magento® 2 using SSH or other method (make sure you have access to the command line).
- Locate your Magento® 2 project root.
-
Install the Magento® 2 extension through composer and wait till it's completed:
-
Once completed run the Magento® module enable command:
-
After that run the Magento® upgrade and clean the caches:
-
If Magento® is running in production mode you also need to redeploy the static content:
- After the installation: Go to your Magento® admin portal and open ‘Stores’ > ‘Configuration’ > ‘Payment Methods’ > ‘TrueLayer’.
Development by Magmodules
We are a Dutch agency dedicated to the development of extensions for Magento and Shopware. All our extensions are coded by our own team and our support team is always there to help you out.
Developed for TrueLayer
The TrueLayer plugin solves this, enabling businesses with a Magento 2 webshop a seamless way to integrate instant bank payments into their website with minimal technical and developer resources required. Visit Truelayer.com
Local development
A basic docker-compose configuration is provided to make local development easier. To start it, run the following:
You can login as an admin user at http://localhost:1234/admin using the following credentials:
Username | Password |
---|---|
exampleuser | examplepassword123 |
Testing webhooks
Webhook signature includes the path so make sure the webhook URL is configured in your Console and the path is set to rest/V1/webhook/transfer.
The domain does not matter, as we will be using truelayer-cli
to forward webhooks.
Run the following to forward webhooks to your local instance:
All versions of magento2 with dependencies
magento/module-payment Version >=100.1.0
magento/module-checkout Version >=100.1.0
magento/module-sales Version >=100.1.0
truelayer/client Version >=1.2.0
php Version >=7.4.0