waaz/axepta-plugin

Axepta payment plugin for Sylius

Installs: 2 305

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 4

Forks: 1

Open Issues: 1

Type:sylius-plugin

This package is not auto-updated.

Last update: 2024-04-16 18:08:21 UTC


README

This plugin is compliant with 3DSV2 protocol.
After install this bundle, you need to configure following routes to accept POST requests :

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