Download the PHP package leat/magento2-loyalty without Composer

On this page you can find all versions of the php package leat/magento2-loyalty. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package magento2-loyalty

Leat Loyalty for Magento 2

Overview

Leat Loyalty for Magento 2 is a comprehensive integration package that connects your Magento 2 store with the Piggy.eu loyalty platform. This integration enables powerful loyalty features including points earning, rewards redemption, prepaid balance, gift products, and referral systems.

The package consists of five modules that work together to provide a complete loyalty solution:

Requirements

Installation

Via Composer (Recommended)

  1. Require the package:

  2. Enable the modules:

  3. Run Magento setup upgrade:

  4. Compile Magento (production mode):

  5. Deploy static content (production mode):

  6. Clear the cache:

Configuration

API Credentials

  1. Navigate to Stores > Configuration > Leat Loyalty > Leat Loyalty > Connection
  2. Enter your Leat API credentials:
    • Personal Access Token: Your Leat API key
    • Shop UUID: Your Leat shop identifier
  3. Test the connection using the "Test Connection" button
  4. Save the configuration

Store Configuration

  1. Navigate to Stores > Configuration > Leat Loyalty > Leat Loyalty > General Configuration
  2. Enable Leat Connection
  3. Select which customer groups should be integrated with Leat
  4. Save the configuration

Additional Settings

Module Descriptions

Leat_Loyalty

The core module that provides the foundation for the Leat loyalty integration:

Detailed Documentation

Leat_LoyaltyFrontend

Provides frontend components and widgets for customer interaction:

Detailed Documentation

Leat_LoyaltyAdminUI

Extends Magento's admin area with Leat-specific features:

Detailed Documentation

Leat_LoyaltyAsync

Handles asynchronous communication between Magento and Leat:

Detailed Documentation

Leat_AsyncQueue

Provides a robust asynchronous job processing system:

Detailed Documentation

Key Features

Customer Synchronization

The integration automatically synchronizes customer data with Leat:

Order Synchronization

Orders are automatically synchronized to Leat:

Prepaid Balance

Allows customers to use their loyalty balance as payment:

Gift Product Promotions

Enhanced cart price rules for gift products:

Referral System

Complete referral functionality:

Frontend Widgets

Rich set of frontend components:

Cron Jobs

The integration sets up several cron jobs:

Troubleshooting

Common Issues

Connection Issues

If you experience connection issues with the Leat API:

  1. Verify your API credentials in the configuration
  2. Test the connection using the "Test Connection" button
  3. Check your server's outbound connectivity to api.piggy.eu
  4. Check the log files in the var/log/leat/ directory for specific error messages

Queue Processing Issues

If jobs are not being processed:

  1. Ensure cron is properly configured and running
  2. Check the log files in the var/log/leat/ directory for errors
  3. Verify the queue tables in the database are not corrupted
  4. Run bin/magento cron:run --group=leat_async_queue and bin/magento cron:run --group=leat_integration manually to test

Synchronization Issues

If customer or order data is not syncing:

  1. Check if the stores are properly configured in the Leat settings
  2. Verify the customer has a contact UUID assigned
  3. Check the log files in the var/log/leat/ directory for synchronization errors

Logging

The integration writes log files to the var/log/leat/ directory. These logs contain detailed information about:

You can check these logs for troubleshooting and monitoring the integration's activities.

Support and Resources

License

MIT License - see composer.json for details.


All versions of magento2-loyalty with dependencies

PHP Build Version
Package Version
Requires magento/framework Version >=103.0.7
piggy/piggy-php-sdk Version 3.12.7
php Version ^8.3
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package leat/magento2-loyalty contains the following files

Loading the files please wait ...