Latitude Payment 插件提供与免息分期、LatitudePay 和 Genoapay 的 3 合 1 集成

安装: 7,125

依赖项: 0

建议者: 0

安全性: 0

星标: 0

关注者: 1

分支: 0

开放问题: 0

类型:magento2-module

3.0.9 2023-02-23 02:32 UTC

This package is auto-updated.

Last update: 2024-09-23 05:37:09 UTC


README

描述

LatitudePay、Genoapay、Latitude 免息分期和 GEM 支付模块适用于 Magento 2。

兼容自 Magento 2.3.5 及以上版本。

测试到:Magento 2.4.5。

目录

变更日志

3.0.9

  • 2023 年 2 月 23 日
  • Logo 迁移
  • 更新小部件的非生产 URL 以用于 if
旧版本

3.0.8

  • 2022 年 12 月 12 日
  • 更改状态流以使用自定义状态 pending_latitude_capture,该状态与处理状态相关联,以避免订单像在先前版本中使用 panding_payment 时的取消

3.0.7

  • 2022 年 11 月 29 日
  • 对市场进行 phpcs 更新
  • 捕获逻辑更新以与 M2 的意外浮点值一起工作
  • IF 结账页的账单地址表单

3.0.6

  • 2022 年 11 月 16 日
  • 更新 curl 选项和头以模仿 LC 的原始插件

3.0.5

  • 2022 年 11 月 16 日
  • 更新 curl 和头选项

3.0.4

  • 2022 年 11 月 10 日
  • 修复了日志错误
  • 添加捕获条件

3.0.3

  • 2022 年 11 月 4 日
  • 对 LatitudePay/Genoapay API 进行 DOB 清理

3.0.2

  • 2022 年 11 月 2 日
  • 将 try catch 添加到 Install Schema 以避免将现有值添加到数据库

3.0.1

  • 2022 年 10 月 28 日
  • 修复当 LC 禁用时小部件仍显示的问题
  • 修复与版本 < 7.3 的 PHP 语法兼容性问题

3.0.0

  • 2022 年 10 月 18 日
  • 与 Magento 2.4.5 兼容
  • Latitude 免息分期和 GEM 的集成
  • 升级 Schema 实施方案

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 渲染器以适应使用 onepage 结账的网站

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
  • 改进日志信息

2.0.1

  • 2022 年 3 月 17 日
  • 将回调重定向从购物车页面更改为结账页面

2.0.0

  • 2022 年 3 月 16 日
  • 为 Magento 2 插件重建发布初始版本

如何安装模块

选项 1:Composer(推荐)

  1. 打开终端并导航到 Magento 2 根目录,例如
cd /var/www/html
  1. 运行
composer require latitudefinancial/payment
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
php bin/magento cache:clean
  1. 在 Magento 2 管理后台配置模块
Stores > Configuration > Sales > Payment Methods

选项 2:手动

  1. GitHub 上的最新版本 下载 zip 文件

  2. 打开终端并导航到 Magento 2 根目录,例如

cd /var/www/html
  1. 将解压文件夹的内容复制并粘贴到 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
  1. 运行
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
php bin/magento cache:clean
  1. 在 Magento 2 管理后台配置模块
Stores > Configuration > Sales > Payment Methods

如何升级模块

如果您通过 Composer 安装了模块

按照上面通过Composer的相同安装说明进行,只需将composer require替换为composer update

如果您是手动安装模块

按照上面提供的相同手动安装说明进行,并完全替换app/code/LatitudeNew/Payment的内容。