robuust / craft-commerce-coinbase
Craft Commerce 3 的 Coinbase 集成
2.0.0
2022-07-13 12:45 UTC
Requires
- craftcms/cms: ^4.0
- craftcms/commerce: ^4.0
- craftcms/commerce-omnipay: ^4.0
- zek/omnipay-coinbase: ^1.0
This package is auto-updated.
Last update: 2024-09-13 17:26:39 UTC
README
此插件为 Coinbase 提供与 Craft Commerce 的集成。
要求
此插件需要 Craft 3.6 和 Craft Commerce 3.3 或更高版本。
安装
您可以从插件商店或使用 Composer 安装此插件。
从插件商店
进入项目的控制面板中的插件商店,搜索“Craft Commerce 的 Coinbase”。然后在模态窗口中点击“安装”按钮。
使用 Composer
打开您的终端并运行以下命令
# go to the project directory cd /path/to/my-project.test # tell Composer to load the plugin composer require robuust/craft-commerce-coinbase # tell Craft to install the plugin ./craft install/plugin commerce-coinbase
设置
要添加 Coinbase 支付网关,请转到 Commerce → 设置 → 网关,创建一个新的网关,并将网关类型设置为 Coinbase。
提示:API 密钥可以设置为环境变量。有关详细信息,请参阅 Craft 文档中的 环境配置。