shyim / store-plugin-installer

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

Latest Version and Plugin Code versus Name #5

Closed studioforty9-dev closed 5 years ago

studioforty9-dev commented 6 years ago

This works great now - thanks :)

Is there anyway to just install the latest version of the plugin or for it to at least notify the developer on install that a newer version is available?

Also, when viewing a plugin in my Shopware Account, I'm actually seeing the Plugin "Code" rather than the Name. For example, "Shopware Storytelling" plugin shows the code "Swag986953104487". Nowhere does it show the Plugin name that's required for composer installation (i.e., "SwagEmotionAdvanced"). I needed to var_dump the API response to discover this.

shyim commented 6 years ago

Hey, i have added installing by code. I will show later with the notification, because i want to notify only valid updates for the used shopware version

shyim commented 5 years ago

Has been fixed in the meantime

Forestsoft-de commented 5 years ago

I think it doesnt Work SwagPaypal;

Plugin with name "Swag828732772311f" is not available in your Account. Please buy the plugin first

shyim commented 5 years ago

Is the paypal plugin bought for the domain?

Forestsoft-de commented 5 years ago

after debugging i found out that is called SwagPaymentPayPalUnified. What a mess :)

shyim commented 5 years ago

Normally the install code should also work as see in this Test https://github.com/shyim/store-plugin-installer/blob/master/tests/PluginInstallTest.php#L79

Forestsoft-de commented 5 years ago

Thats correct now i see the mistake. There is a typo in shopware account:

image

Every code has an f as suffix. The Link to the search is without the f.

can be closed.