Magento & Adobe Commerce

源码方式安装 PayKKa Payment Gateway 支付模块

在你的 Magento 工程安装目录下创建目录

mkdir -p ${magento_dir}/app/code/PayKKa/

复制源代码到步骤一的目录下

启用插件

php bin/magento module:enable PayKKa_PaymentGateway

执行命令

php bin/magento setup:upgrade

php bin/magento setup:di:compile



php bin/magento cache:clean

php bin/magento cache:flush

如果你的 Magento 处在生产模式,必须重新编译和部署模块的静态文件

php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy

卸载 PayKKa Payment Gateway 支付模块

备份你的文件和数据库

删除模块文件

rm -rf ${magento_dir}/app/code/PayKKa/

重新编译

php bin/magento setup:di:compile
php bin/magento setup:upgrade
php bin/magento cache:flush
php bin/magento cache:clean

如果你的 Magento 处在生产模式,必须重新编译和部署模块的静态文件

php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy

使用方式

Magento 管理后台 配置支付方式

STORES -> CONFIGURATION -> SALES -> PAYMENT METHOD

Session Mode 支持多选

Description of image

销售端收银台页面使用 PayKKa 支付方式

Description of image

在 PayKKa 支付方式中选择 session mode

Description of image

Component 模式

Description of image

Hosted 模式

Description of image

Encrypted Card

Description of image