chernandez/magento2-mipago 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

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

  1. Fix workaround saving quote attribute extracharge.
  2. Add extracharge to invoice and credit memo entities.
  3. Add taxes management to extracharge attribute.
  4. Add PHPUnit testing.

统计信息

  • 总下载量: 2
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: proprietary
  • 更新时间: 2023-10-20