knky/sylius-dotpay-plugin

Sylius 的 Dotpay 实现

安装数量: 2,347

依赖者: 0

建议者: 0

安全性: 0

星标: 0

关注者: 2

分支: 0

开放性问题: 0

类型:sylius-plugin

1.0.1 2020-03-27 22:56 UTC

This package is auto-updated.

Last update: 2024-09-28 08:38:25 UTC


README

安装

使用 composer 安装 knyk/sylius-dotpay-plugin

将插件添加到您的 config/bundles.php 文件中

return [
    ...
    Knyk\SyliusDotpayPlugin\KnykSyliusDotpayPlugin::class => ['all' => true]
];

通过运行 bin/console cache:clear 清除缓存

使用方法

为了启用 Dotpay 支付方式,您需要在 Sylius 店铺的管理面板中添加新的支付方式。

要这样做,请转到 管理员 > 支付方式 > 创建 > Dotpay。

然后,您将被要求提供您的 Dotpay 账户的 ID 和 PIN。

沙盒模式

您可以通过在管理员面板中支付方式编辑表单中的沙盒选项切换来启用沙盒模式。