Skip to content

Conversation

@gruhn
Copy link

@gruhn gruhn commented Sep 13, 2019

When installing the plugin with Composer, all files end up in:

Plugin/Local/Frontend/QuickPay_Shopware

Shopware is not able to detect the new plugin though because the
directory doesn't match the plugin name (QuickPayPayment).
Fixing this by defining a custom install directory using the
installer-name field in composer.json.

Also, according to the installation page, the plugin files should be
moved to custom/plugins instead of Plugin/Local/Frontend/. See:

https://learn.quickpay.net/helpdesk/en/articles/integrations/shopware/

Not a technical problem but I guess it makes sense to keep this consistent.
Doing this by changing the package type to shopware-plugin in composer.json.

When installing the plugin with Composer, all files end up in:

`Plugin/Local/Frontend/QuickPay_Shopware`

Shopware is not able to detect the new plugin though because the
directory doesn't match the plugin name (`QuickPayPayment`).
Fixing this by defining a custom install directory using the
`installer-name` field in `composer.json`.

Also, according to the installation page, the plugin files should be
moved to `custom/plugins` instead of `Plugin/Local/Frontend/`. See:

https://learn.quickpay.net/helpdesk/en/articles/integrations/shopware/

This is done by setting the package type to `shopware-plugin` in
`composer.json`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant