waaz / system-pay-plugin
适用于Sylius应用的系统支付支付插件。
v1.0
2022-05-25 15:00 UTC
Requires
- php: >=7.1
- sylius/sylius: ^1.0
Requires (Dev)
- behat/behat: ^3.3
- behat/mink: ^1.7
- behat/mink-browserkit-driver: ^1.3
- behat/mink-extension: ^2.2
- behat/mink-selenium2-driver: ^1.3
- friends-of-behat/context-service-extension: ^1.0
- friends-of-behat/cross-container-extension: ^1.0
- friends-of-behat/service-container-extension: ^1.0
- friends-of-behat/symfony-extension: ^1.0
- friends-of-behat/variadic-extension: ^1.0
- lakion/mink-debug-extension: ^1.2.3
- phpspec/phpspec: ^3.2
- phpunit/phpunit: ^5.6
- rector/rector: ^0.13.0
- se/selenium-server-standalone: ^2.52
This package is auto-updated.
Last update: 2024-09-25 20:06:06 UTC
README
概览
此插件使Sylius商店能够使用系统支付支付方式。
安装
$ composer require waaz/system-pay-plugin
将插件依赖项添加到您的AppKernel.php文件中
public function registerBundles() { return array_merge(parent::registerBundles(), [ ... new \Waaz\SystemPayPlugin\WaazSystemPayPlugin(), ]); }
用法
转到您的管理面板中的支付方式。现在您应该能够为系统支付网关添加新的支付方式。
网关中的支付方式选项是可选的。根据Systempay文档
- 如果列表中只包含一种类型的卡,则将直接显示此支付方式的表单填写页面,
- 否则将显示支付方式选择页面,
- 如果此参数为空(推荐)则将提供所有符合条件的支付方式(货币、技术约束等)。
测试
$ wget https://getcomposer.org.cn/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
贡献
有关我们的贡献流程,请参阅http://docs.sylius.org/en/latest/contributing/。