Skip to content

fvanzani/soisy-magento-openmage-pl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Magento 1 / OpenMage PagoLight Payment Extension

Magento 1.x OpenMage 20.x PagoLight's installment payment method

Facts

  • version: 1.1.0
  • extension key: Soisy_SoisyPayment

Description

This modules add a new payment method.

Requirements

  • PHP >= 5.6.0

Compatibility

Tested on:

  • Magento 1.9.4.5 (with php 5.6)
  • OpenMage 19.4.x (with php 7.2)
  • OpenMage 20.x (with php 8.2)

The module should be compatible also with magento >= 1.9.1

Installation Instructions

Installation options:

Modman (recommended):

  • Command: modman clone git@github.com:soisy/magento-openmage.git
  • Run commands:
n98-magerun.phar dev:module:enable Soisy_SoisyPayment
n98-magerun.phar sys:setup:run
n98-magerun.phar cache:clean

Manual

  1. Extract soisy-magento-openmage-main;
  2. Copy all extracted folder into your root directory (app-assets-skin-composer-license-modman);
  3. Clear the cache, logout from the admin panel and then login again.

Configuration

Configure and activate the extension under System - Configuration - Sales - Payment methods.

Settings

Settings 2

Sandbox mode

The module just installed is ready for sandbox mode. To activate set Enable to Yes.

Production mode

When you are ready for production mode replace the followind fields with the production value:

  • Shop ID
  • Auth token
  • Endpoint url
  • Webapp url

Usage

User workflow

The customer can see the intalments simulated on the product view page:

simulation widget on product page

The customer choose the PagoLight payment method:

Checkout

When the order is placed the user lands on the magento success page. In this page the PagoLight description could be success description (the user is redirected to PagoLight/Soisy) or error descripton (the user is not redirected to PagoLight/Soisy).

Magento success page, PagoLight success:

Success page before redirect to PagoLight

Magento success page, PagoLight error, the user in not redirected:

Success page before redirect to PagoLight

Once entered all information into PagoLight page the customer is redirected again, on a magento PagoLight final success page (or final error page):

Final success page

Final error page

Admin usage

Manage oders

Once the customer place the order the store manager can see some information inside status comments. here the store manager could see the soisy token used to map the magento order with PagoLight order.

Order status comments

When PagoLight approves an order the store manager should change manually the magento order status from pending to processing.

Features not implemented or not tested

  • multisite: partially tested;
  • multi language: seems ok;
  • payment method not visible in admin;
  • Status updates via callback backurl: not implemented;
  • On configurable product page the simulation widget shows instalments only for the base price;

Uninstallation

  • Composer: composer remove soisy/magento-soisy-payment
  • Modman: modman remove magento-soisy-payment (Run modman list to be sure the module name is magento-soisy-payment)
  • Manual: Just remove the module files.

Support

If you have any issues with this extension, open an issue on GitHub.

Contribution

Any contribution is highly appreciated. The best way to contribute code is to open a pull request on GitHub.

Developer

Licence

OSL - Open Software Licence 3.0

Copyright

(c) 2023 PagoLight

About

Pagolight version of openmage plugin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published