Magento 2 Pagolight Payment Extension
Magento 2.3.x, 2.4.x Pagolight's installment payment method
Facts
- version: 1.1.0
- extension key: Soisy_PaymentMethod
Description
This modules add a new payment method.
Requirements
- PHP >= 7.2.0
Compatibility
- Magento 2.3.0 - 2.3.2 - 2.3.4 - 2.3.6 - 2.4.0 - 2.4.1 - 2.4.4 - 2.4.5
Installation Instructions
Installation:
-
Manual copy all the files into your magento
root/app/code/Soisy/PaymentMethod
.(If you don't have this folder please create it)
-
Clear the cache, logout from the admin panel and then login again.
-
Go to System -> Tools -> Web Setup Wizard, in Module Manager and check "Enable" on Soisy_PaymentMethod.
Optional:
Execute the follow command:
- php bin\magento setup:static-content:deploy -f
- php bin\magento cache:clean
- php bin\magento cache:flush
Configuration
Configure and activate the extension under Stores -> Configuration -> Sales -> Payment Methods
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, set "Use In Sandbox" to No and insert production values in fields:
- Shop ID
- Auth Token
Usage
User workflow
The customer can see the intalments simulated on the product view page, if the price between settings allowed values:
The customer choose the Pagolight payment method:
When the order is placed the user lands on the magento success page. In this page the customer will be redirected to pagolight website.
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 pagolight token used to map the magento order with Pagolight order.
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;
Uninstallation
- Composer:
composer remove soisy/magento-soisy-payment
- Modman:
modman remove magento-soisy-payment
(Runmodman list
to be sure the module name ismagento-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
Copyright
(c) 2023 Pagolight