smart2pay/magento2

使用Smart2Pay模块,即可访问200多种支付方式。

安装次数: 2,019

依赖项: 0

建议者: 0

安全: 0

星星: 2

关注者: 3

分支: 1

公开问题: 0

类型:magento2-module

4.1.9 2021-11-01 11:20 UTC

This package is not auto-updated.

Last update: 2024-09-17 01:33:34 UTC


README

在Magento 2.1.15, 2.2.5, 2.2.6和2.3.4上进行了测试。

Composer安装(推荐)

  1. 使用composer安装Smart2Pay Magento插件

    composer require smart2pay/magento2
  2. 按照Magento设置部分的步骤进行。

  3. 登录到您的Magento商店的管理区域并配置插件。

手动安装说明

  1. 复制Smart2Pay插件文件

    1.1. 压缩文件

    Smart2Pay Magento 2发布下载压缩文件,并将其解压到您的Magento 2服务器上的一个临时位置。

    1.2. git clone

    在您的Magento 2服务器上的一个临时目录中执行 git clone https://github.com/Smart2Pay/magento2

  2. {Magento_root}/app/code 目录中创建 Smart2Pay/GlobalPay 目录。如果您在 {Magento_root}/app/ 中没有 code 目录,请先创建它。

  3. 将步骤1中创建的临时目录中的插件文件复制到 {Magento_root}/app/code/Smart2Pay/GlobalPay 目录。

  4. 为了检查文件是否已正确复制,请检查 {Magento_root}/app/code/Smart2Pay/GlobalPay 目录中是否存在 registration.php 文件。

  5. {Magento_root} 目录中运行 composer require smart2pay/sdk-php(不在模块目录中)。

  6. 完成Magento设置部分的步骤。

  7. 登录到您的Magento管理区域并配置插件。

如果您遇到任何版本的问题,请通过support@smart2pay.com告知我们您的Magento、Smart2Pay模块和Smart2Pay SDK版本。

Magento设置

  1. 在Magento 2根目录中打开shell。

  2. 为了确保插件已启用,请运行 bin/magento module:enable Smart2Pay_GlobalPay

  3. 运行以下命令

    bin/magento setup:upgrade
    bin/magento setup:di:compile