conekta / conekta_payments
Conekta支付网关
5.1.4
2024-07-25 16:55 UTC
Requires
- php: >=7.4
- conekta/conekta-php: v6.0.8
Requires (Dev)
- magento/framework: ^103.0
- magento/payment-services: *
- phpstan/phpstan: 1.10.32
- phpunit/phpunit: ^9.0
- squizlabs/php_codesniffer: ^3.7
This package is auto-updated.
Last update: 2024-08-25 17:11:40 UTC
README
Magento 2插件 v.5.1.4 (稳定版)
为Magento 2.3安装
- 首先在您的composer配置中添加此仓库
composer config repositories.conekta git https://github.com/conekta/customer-magento-plugin
- 添加composer依赖
composer require conekta/conekta_payments 5.1.4
- 更新Magento
php bin/magento setup:upgrade
- 编译组件
php bin/magento setup:di:compile
- 启用插件
php bin/magento module:enable conekta_payments
- 更新和/或启用缓存
bin/magento c:f
为Magento 2.4安装
- 首先在您的composer配置中添加此仓库
composer config repositories.conekta git https://github.com/conekta/customer-magento-plugin
- 添加composer依赖
composer require conekta/conekta_payments master
- 更新Magento
php bin/magento setup:upgrade
- 编译组件
php bin/magento setup:di:compile
- 启用插件
php bin/magento module:enable conekta_payments
- 更新和/或启用缓存
bin/magento c:f
插件更新
- 列出所有组件
php bin/magento module:status
-
验证Conekta_Payments组件是否列出
-
禁用模块
php bin/magento module:disable Conekta_Payments --clear-static-content
-
如果存在,删除在文件夹
<path_magento>/generated/code/Conekta/
中生成的文件 -
添加composer依赖
composer require conekta/conekta_payments master
- 更新Magento
php bin/magento setup:upgrade
- 编译组件
php bin/magento setup:di:compile
- 启用插件
php bin/magento module:enable conekta_payments
- 更新和/或启用缓存
bin/magento c:f
Magento版本兼容性
该插件已在Magento 2.3和2.4中进行测试,但未测试的版本不支持。
#本地开发
composer install --ignore-platform-req=ext-gd --ignore-platform-req=ext-intl --ignore-platform-req=ext-xsl
``