latitudefinancial/payment

Latitude Payment Plugin offering 3-in-1 integration with Interest Free, LatitudePay, and Genoapay


Licenses
OSL-3.0/AFL-3.0

Documentation

magento2-latitude

Description

LatitudePay, Genoapay, Latitude Interest Free & GEM Payment Modules for Magento 2.

Compatible with Magento 2.3.5 onwards.

Tested up to: Magento 2.4.5.

Table of contents

Changelog

3.0.9

  • 23 February 2023
  • Logo migration
  • Update widget's non-prod url for if
Older versions

3.0.8

  • 12 December 2022
  • Change status flow for capture to use custom status pending_latitude_capture, which is linked to processing state to avoid orders getting canceled by magento cron like in previous version where we used panding_payment

3.0.7

  • 29 November 2022
  • Phpcs updates for marketplace
  • Capture logic update to work with M2's unexpected float values
  • Billing address form on IF checkout

3.0.6

  • 16 November 2022
  • update curl options and header to mimic LC's original plugin

3.0.5

  • 16 November 2022
  • update curl and header options

3.0.4

  • 10 November 2022
  • Fixed logging typo
  • Added capture condition

3.0.3

  • 4 November 2022
  • Sanitize DOB for LatitudePay/Genoapay API

3.0.2

  • 2 November 2022
  • Add try catch to Install Schema to avoid adding existing value to DB

3.0.1

  • 28 October 2022
  • Fix widget still showing when LC is disabled
  • Fix PHP syntax compatibility issue with versions < 7.3

3.0.0

  • 18 October 2022
  • Compatibility with Magento 2.4.5
  • Integration of Latitude Interest Free and GEM
  • Upgrade Schema Implementation

2.0.7

  • 19 July 2022
  • Compatibility with Magento 2.4.4
  • Adjusted module to not clear session on checkout
  • Update status key to pending_latitude_approval to avoid clash with other modules
  • Address base url information source to window.BASE_URL
  • Updated payment group from offline to installment
  • Add log to install module

2.0.6

  • 31 March 2022
  • Ensure backward compatibility with PHP 7.4 and lower

2.0.5

  • 24 March 2022
  • Adjusted composer requirement to allow smoother installation using composer require
  • Logo renderer adjusted to cater to sites using onepage checkout

2.0.4

  • 22 March 2022
  • Show module version on configuration page

2.0.3

  • 22 March 2022
  • Fix path for packagist

2.0.2

  • 18 March 2022
  • Replace Zend Logger removed in Magento 2.4.3 with a custom logger
  • Improve logging information

2.0.1

  • 17 March 2022
  • Change callback redirect from cart page to checkout page

2.0.0

  • 16 March 2022
  • Initial release for Magento 2 plugin rebuild

How to install module

Option 1: Composer (Recommended)

  1. Open terminal and navigate to Magento 2 root directory, for example:
cd /var/www/html
  1. Run:
composer require latitudefinancial/payment
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
php bin/magento cache:clean
  1. Configure the module on Magento 2 admin backend:
Stores > Configuration > Sales > Payment Methods

Option 2: Manual

  1. Download the zip file from the latest release on GitHub

  2. Open terminal and navigate to Magento 2 root directory, for example:

cd /var/www/html
  1. Copy the content of the unzipped folder and paste it into app/code/LatitudeNew/Payment folder in the Magento 2 root directory:
<Magento 2 root>
    └── app
        └── code
            └── LatitudeNew
                └── Payment
                    ├── Block
                    ├── Controller
                    ├── Cron
                    ├── Helper
                    ├── Logger
                    ├── Model
                    ├── Observer
                    ├── README.md
                    ├── Setup
                    ├── composer.json
                    ├── etc
                    ├── registration.php
                    └── view
  1. Run:
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
php bin/magento cache:clean
  1. Configure the module on Magento 2 admin backend:
Stores > Configuration > Sales > Payment Methods

How to upgrade module

If you installed the module via Composer

Follow the same installation instructions via Composer above, except replace composer require with composer update.

If you installed the module manually

Follow the same manual installation instructions above and replace the content of app/code/LatitudeNew/Payment completely.