swarmsoft/sylius-btepos-plugin

Sylius 的 BTePOS 插件。

安装: 3

依赖项: 0

建议者: 0

安全: 0

类型:sylius-plugin

This package is auto-updated.

Last update: 2024-09-17 22:44:50 UTC


README

此插件将 BTePOS 支付与基于 Sylius 的应用程序集成。安装后,您应该能够为 BTePOS 网关创建一种支付方式,并在您的网店中启用其支付功能。

安装

$ composer require swarmsoft/sylius-btepos-plugin

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

return [
    Swarmsoft\SyliusBTePOSPlugin\SwarmsoftSyliusBTePOSPlugin::class => ['all' => true],
]

在您的 Sylius 店铺中创建新的支付方式时,从创建下拉菜单中选择 BTePOS 支付,然后填写配置表单。选择 1-阶段或 2-阶段,填写基础 URL(沙盒或生产 URL),用户名、密码,最后填写 0 为分期付款。

如果您已与 BTePOS 约定启用 STARCard 的分期付款,请填写约定的分期付款之一(3、6、9 等)。此支付方式将仅与 STARCard 信用卡一起使用。

测试

$ wget http://getcomposer.org/composer.phar
$ php composer.phar install
$ yarn install
$ yarn run gulp
$ php bin/console sylius:install --env test
$ php bin/console server:start --env test
$ open https://:8000
$ bin/behat features/*
$ bin/phpspec run

贡献

在我们的贡献流程上了解更多信息。