bridgepay / bridge-module-magento2
Bridge集成的官方模块。
1.0.9
2024-09-11 10:28 UTC
Requires
- 202ecommerce/bridge-sdk: 1.0.0
README
Magento 2的Bridge模块是一个PHP模块,允许您在您的Magento 2网店中接受支付。它提供创新的功能,以降低购物车放弃率,优化成功率,并增强商家网站上的购买流程,从而在不增加对Magento 2电子商务CMS解决方案的投资的情况下,显著增加业务量。
入门指南
Composer安装
- 使用Composer安装模块及其依赖项:
composer require bridgepay/bridge-module-magento2 --no-dev - 运行:
php bin/magento module:enable Bridgepay_Bridge - 运行:
php bin/magento setup:upgrade - 运行:
php bin/magento setup:static-content:deploy - 使用以下命令清除缓存:
php bin/magento cache:flush
使用Composer更新
要更新扩展到最新版本(取决于您的composer.json),请在您的终端运行以下命令
composer update bridgepay/bridge-module-magento2 --with-dependencies --no-dev
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
php bin/magento cache:flush
手动安装
- 使用Composer安装SDK:
composer require 202ecommerce/bridge-sdk:1.0.0 - 将模块文件复制/粘贴到您的Magento根目录
- 运行:
php bin/magento module:enable Bridgepay_Bridge - 运行:
php bin/magento setup:upgrade - 运行:
php bin/magento setup:static-content:deploy - 使用以下命令清除缓存:
php bin/magento cache:flush
维护模式
在安装或更新模块时,您可能需要启用维护模式,尤其是在生产网站上工作时。为此,在运行其他设置命令前后运行以下两个命令
php bin/magento maintenance:enable
# Other setup commands
php bin/magento maintenance:disable
兼容性
资源
- 问题 — 报告问题,提交拉取请求并参与(见 Academic Free License)
功能
许可
Magento 2的Bridge模块在Academic Free License (AFL 3.0)下提供。查看许可文件以获取更多信息。