Добавить новый способ оплаты Sylius не работает [закрыто] ⇐ Php
-
Гость
Добавить новый способ оплаты Sylius не работает [закрыто]
I'm working on developing a Sylius (v1.12) plugin to add a payment method, but it seems I'm missing something in the process because it's not showing in the list of payment method that I can create. I followed this documentation without adding anything: https://docs.sylius.com/en/1.12/cookboo ... teway.html but it's not working at the step 4, do you know if very is extra step that are not mentioned in the cookbook?
Based on what I saw in other plugins, I already tested (but maybe wrongly) to add the plugin class into bundles.php by adding the line Acme\SyliusExamplePlugin\AcmeSyliusExamplePlugin::class => ['all' => true] knowing that the composer.json has this :
"autoload": { "psr-4": { "Acme\\SyliusExamplePlugin\\": "src/", "Tests\\Acme\\SyliusExamplePlugin\\": "tests/" } } and the name the plugin class is
Источник: https://stackoverflow.com/questions/781 ... ot-working
I'm working on developing a Sylius (v1.12) plugin to add a payment method, but it seems I'm missing something in the process because it's not showing in the list of payment method that I can create. I followed this documentation without adding anything: https://docs.sylius.com/en/1.12/cookboo ... teway.html but it's not working at the step 4, do you know if very is extra step that are not mentioned in the cookbook?
Based on what I saw in other plugins, I already tested (but maybe wrongly) to add the plugin class into bundles.php by adding the line Acme\SyliusExamplePlugin\AcmeSyliusExamplePlugin::class => ['all' => true] knowing that the composer.json has this :
"autoload": { "psr-4": { "Acme\\SyliusExamplePlugin\\": "src/", "Tests\\Acme\\SyliusExamplePlugin\\": "tests/" } } and the name the plugin class is
Источник: https://stackoverflow.com/questions/781 ... ot-working
Мобильная версия