chernandez/magento2-mipago
Composer 安装命令:
composer require chernandez/magento2-mipago
包简介
MiPago. Magento 2 module - code challenge
README 文档
README
MiPago Magento Module
César Hernández
Chernandez_MiPago
This is a Magento 2.4.5 module that creates a custom Payment method.
Code challenge for The Etailers.
Author
- César Hernández - cesarhndev@gmail.com
Prerequisites
Before testing this module, make sure that you meet the requirements.
A Magento 2.4.* working
Composer
INSTALLATION
Composer Installation
- Go to your Magento root folder
- Run composer command:
composer require chernandez/magento2-mipago:dev-main
Manual Installation
- Extract files from ChernandezMiPago.zip archive
- Go to your Magento root folder
- Move files into Magento2 folder
app/code/.
ENABLE EXTENSION
- Make sure you have correct read/write permissions on your Magento root directory. Read about them here.
- Go to Magento root folder
Enable Extension Using Magento CLI
Execute the following commands to manually install Chernandez_MiPago
bin/magento module:status
You must see Chernandez_MiPago in the list of disabled modules.
-
Enable module
bin/magento module:enable Chernandez_MiPago
-
Launch the upgrade and regenerate the code dependencies:
bin/magento setup:upgrade && bin/magento setup:di:compile -
If you have your Magento running on Production mode you must regenerate your static content:
bin/magento setup:static-content:deploy
-
Clean the cache
bin/magento cache:clean
Configurations
Inside Magento backend go to:
Stores > Configuration > Sales > Payments Methods
This will show you all the payment methods.
Inside Other Payment Methods you will see MiPago.
All options are self explanatory.
- Enable MiPago to test all its functionalities.
- Enable Extra charge to allow an extra fee to the customers that select this payment
TODO
- Fix workaround saving quote attribute extracharge.
- Add extracharge to invoice and credit memo entities.
- Add taxes management to extracharge attribute.
- Add PHPUnit testing.
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2023-10-20