shyim / store-plugin-installer

Install store.shopware.com Plugins automatically in your Shopware Composer Setup
36 stars 7 forks source link

Fixed fetching licenses without partner account #4

Closed nlubisch closed 6 years ago

nlubisch commented 6 years ago

Fetching licenses without an partner account results in the following error:

[Installer] Using $ACCOUNT_USER and $ACCOUNT_PASSWORD to login into the account [Installer] Successfully loggedin in the account [Installer] Found shop with domain "development-ltt-group.de" in account

Array
(
    [success] => 
    [code] => PluginLicensesException-8
)

The reason is, that the license request gets the partnerId passed even if the account is no partner account.

This PR fixes it and adds an additional Exception.