• France
status page
demonstrations
assistance
FAQContact support
Search
Categories
Tags
English
French
English
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
Snippets
Payment methods
Plugins
Guides
Merchant Back Office
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\Sogecommerce\LyranetworkSogecommercePlugin::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_sogecommerce:
         resource: "@LyranetworkSogecommercePlugin/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: ["@lyranetworksogecommerce.order_service", "sendConfirmationEmail"]
              args: ["object"]
  7. Open the services.yaml file in your site's config directory.
  8. Add the code below:
    services:
    [...]
        lyranetworksogecommerce.order_service:
          class: Lyranetwork\Sogecommerce\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
© 2025 {'|'} All rights reserved to Sogecommerce
25.20-1.11