• France
status page
Demo shops
assistance
FAQContact support
Search
Categories
Tags
Europe (English)
France
Spain
Europe (English)
India
Homepage
Use cases
Create a payment
Create an installment payment
Create a multi-card (split) payment
Create a payment by Alias (Token)
Create a payment link
Create a recurring payment
Manage subscriptions
Manage your transactions (refund, cancel...)
Analyze your reports
API docs
Embedded Form
REST API
Hosted payment
Mobile payment
File exchange
SDD mandates by REST API
Snippets
Payment methods
Plugins
Marketplace
Guides
Merchant Back Office
Back Office Expert
Functional guides

First installation

If you are installing the payment module for the first time:

  1. Open the bundles.php file in your site's config directory.
  2. Add the line below:
    Lyranetwork\Lyra\LyranetworkLyraPlugin::class => ['all' => true],
    This line must be added before the last line:
    ];
  3. Open the routes.yaml file in your site's config directory.
  4. Add the 2 lines below to the end of the file:
    sylius_lyra:
         resource: "@LyranetworkLyraPlugin/Resources/config/routing.yaml"
    IMPORTANT: sylius and resource must be aligned.
  5. Open the _sylius.yaml file in the directory config/packages of your site.
  6. Add the code below:
    winzou_state_machine:
      sylius_payment:
        callbacks:
          after:
            custom_action:
              on: ["process", "authorize", "complete"]
              do: ["@lyranetworklyra.order_service", "sendConfirmationEmail"]
              args: ["object"]
  7. Open the services.yaml file in your site's config directory.
  8. Add the code below:
    services:
    [...]
        lyranetworklyra.order_service:
          class: Lyranetwork\Lyra\Service\OrderService
          public: true
  9. Open the terminal from the root of your website.
  10. Enter the following command and then press Enter:
    	composer dump-autoload
Jobs
Legal
GDPR
25.20-1.11