latitude-bnpl / payment
LatitudePay & Genoapay 支付网关
2.0.8
2022-10-27 23:25 UTC
This package is auto-updated.
Last update: 2024-09-28 03:38:25 UTC
README
描述
LatitudePay & Genoapay 支付模块适用于 Magento 2。
兼容 Magento 2.3.5 及以上版本。
测试到:Magento 2.4.4。
目录
变更日志
2.0.8
- 2022 年 10 月 28 日
- 将出生日期格式化始终为 yyyy-mm-dd 格式
旧版本
2.0.7
- 2022 年 7 月 19 日
- 兼容 Magento 2.4.4
- 调整模块以不在结账时清除会话
- 将状态键更新为 pending_latitude_approval 以避免与其他模块冲突
- 将基础 URL 信息来源设置为 window.BASE_URL
- 将付款组从离线更新为分期付款
- 安装模块时添加日志
2.0.6
- 2022 年 3 月 31 日
- 确保与 PHP 7.4 及以下版本向后兼容
2.0.5
- 2022 年 3 月 24 日
- 调整 composer 要求以允许使用
composer require
更平滑地安装 - 调整 Logo 渲染器以适应使用单页结账的网站
2.0.4
- 2022 年 3 月 22 日
- 在配置页面上显示模块版本
2.0.3
- 2022 年 3 月 22 日
- 修复 packagist 路径
2.0.2
- 2022 年 3 月 18 日
- 将 Magento 2.4.3 中删除的 Zend Logger 替换为自定义 logger
- 改进日志信息
2.0.1
- 2022 年 3 月 17 日
- 将回调重定向从购物车页面更改为结账页面
2.0.0
- 2022 年 3 月 16 日
- 为 Magento 2 插件重建发布首个版本
如何安装模块
选项 1: Composer(推荐)
- 打开终端并导航到 Magento 2 根目录,例如
cd /var/www/html
- 运行
composer require latitude-bnpl/payment
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
php bin/magento cache:clean
- 在 Magento 2 管理后端配置模块
Stores > Configuration > Sales > Payment Methods
选项 2: 手动
-
从GitHub 上的最新版本下载 zip 文件
-
打开终端并导航到 Magento 2 根目录,例如
cd /var/www/html
- 将解压文件夹的内容复制并粘贴到 Magento 2 根目录下的
app/code/LatitudeNew/Payment
文件夹中
<Magento 2 root>
└── app
└── code
└── LatitudeNew
└── Payment
├── Block
├── Controller
├── Cron
├── Helper
├── Logger
├── Model
├── Observer
├── README.md
├── Setup
├── composer.json
├── etc
├── registration.php
└── view
- 运行
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
php bin/magento cache:clean
- 在 Magento 2 管理后端配置模块
Stores > Configuration > Sales > Payment Methods
如何升级模块
如果您通过 Composer 安装了模块
按照上面通过 Composer 使用的相同安装说明,只需将 composer require
替换为 composer update
。
如果您手动安装了模块
按照上面使用的相同手动安装说明,只需完全替换 app/code/LatitudeNew/Payment
的内容。