waaz / axepta-plugin
Sylius 的 Axepta 支付插件
2.4
2023-04-04 13:17 UTC
Requires
- php: ^7.4 || ^8.0
- sylius/sylius: ^1.10
Requires (Dev)
- behat/behat: ^3.6.1
- behat/mink-selenium2-driver: ^1.4
- dmore/behat-chrome-extension: ^1.3
- dmore/chrome-mink-driver: ^2.7
- friends-of-behat/mink: ^1.8
- friends-of-behat/mink-browserkit-driver: ^1.4
- friends-of-behat/mink-debug-extension: ^2.0.0
- friends-of-behat/mink-extension: ^2.4
- friends-of-behat/page-object-extension: ^0.3
- friends-of-behat/suite-settings-extension: ^1.0
- friends-of-behat/symfony-extension: ^2.1
- friends-of-behat/variadic-extension: ^1.3
- friendsofsymfony/oauth-server-bundle: ^1.6 || >2.0.0-alpha.0 ^2.0@dev
- phpspec/phpspec: ^7.0
- phpstan/extension-installer: ^1.0
- phpstan/phpstan: 0.12.99
- phpstan/phpstan-doctrine: 0.12.33
- phpstan/phpstan-strict-rules: ^0.12.0
- phpstan/phpstan-webmozart-assert: 0.12.12
- phpunit/phpunit: ^9.5
- polishsymfonycommunity/symfony-mocker-container: ^1.0
- rector/rector: 0.11.60
- sensiolabs/security-checker: ^6.0
- sylius-labs/coding-standard: ^4.0
- symfony/browser-kit: ^4.4 || ^5.2
- symfony/debug-bundle: ^4.4 || ^5.2
- symfony/dotenv: ^4.4 || ^5.2
- symfony/intl: ^4.4 || ^5.2
- symfony/web-profiler-bundle: ^4.4 || ^5.2
- vimeo/psalm: 4.7.1
Conflicts
- symfony/browser-kit: 4.1.8
- symfony/dependency-injection: 4.1.8
- symfony/dom-crawler: 4.1.8
- symfony/routing: 4.1.8
- symfony/symfony: 4.1.8
This package is not auto-updated.
Last update: 2024-09-17 20:02:31 UTC
README
此插件符合 3DSV2 协议。
安装此包后,您需要配置以下路由以接受 POST 请求
sylius_shop_order_thank_you:
path: /{_locale}/order/thank-you
methods: [GET, POST]
defaults:
_controller: sylius.controller.order:thankYouAction
_sylius:
template: "@SyliusShop/Order/thankYou.html.twig"
sylius_shop_order_show:
path: /{_locale}/order/{tokenValue}
methods: [GET, PUT, POST]
defaults:
_controller: sylius.controller.order:updateAction
_sylius:
template: "@SyliusShop/Order/show.html.twig"
repository:
method: findOneBy
arguments: [tokenValue: $tokenValue]
form:
type: Sylius\Bundle\CoreBundle\Form\Type\Checkout\SelectPaymentType
options:
validation_groups: []
redirect:
route: sylius_shop_order_pay
parameters:
tokenValue: resource.tokenValue
flash: false