craftcms/commerce-eway

Craft Commerce 4.0+ 的 eWay 集成

4.1.0 2024-08-16 14:41 UTC

README

eWay for Craft Commerce icon

Craft Commerce 的 eWay

此插件为 eWay 集成 Craft Commerce

要求

此插件需要 Craft CMS 4.0 和 Craft Commerce 4.0 或更高版本。

安装

您可以从插件商店或使用 Composer 安装此插件。

从插件商店

转到您的项目控制面板中的插件商店,搜索“eWay for Craft Commerce”。然后在其模态窗口中点击“安装”按钮。

使用 Composer

打开您的终端并运行以下命令

# go to the project directory
cd /path/to/my-project.test

# tell Composer to load the plugin
composer require craftcms/commerce-eway

# tell Craft to install the plugin
./craft install/plugin commerce-eway

设置

要添加 eWay 支付网关,请转到 Commerce → 设置 → 网关,创建一个新的网关,并将网关类型设置为“eWay Direct”。

提示:API 密钥、密码和客户端加密密钥设置可以设置为环境变量。有关更多信息,请参阅 Craft 文档中的 环境配置