ars-creo/sylius-dotpay-plugin

Sylius 的 Dotpay 插件。

安装: 30

依赖: 0

建议: 0

安全: 0

星标: 0

分支: 0

类型:sylius-plugin


README

安装

composer req ars-creo/sylius-dotpay-plugin

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

return [
    ...
    Acme\SyliusDotpayPlugin\AcmeSyliusDotpayPlugin::class => ['all' => true]
];

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

用法

要启用 Dotpay 支付方式,您必须在 Sylius 商店的管理员面板中添加新的支付方式。

为此,请转到管理员 > 支付方式 > 创建 > Dotpay。

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

沙盒

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