Adding a new theme to the payment addon doesn't work with upgrade packae

After adding a theme to my payment addon and creating the upgrade package, I got the below errors:

Error Forbidden: Add-on tries to upgrade core files (var/themes_repository/css/addons/[addon]/styles.less)

Then the system refused to download the upgrade package.

Looks like you missed the theme directory. So the correct path should be


1 Like

Thank you for your replay
I changed the directory to the below one and got the same error

ErrorForbidden: Add-on tries to upgrade core files (design/themes/responsive/templates/addons/[addon]/hooks/index/

In this case try to use



Thank you so much. It works

1 Like