I performed a Shopware update from 6.3 to 6.4.20.2 using Symfony Flex yesterday and accordingly installed the appropriate Payone version via composer. However, after the update, the variable "APP_SECRET" could no longer be found, which caused issues with the payment methods.
I couldn't determine whether Shopware no longer executes putenv from version 6.4 onwards or if it has something to do with the Dotenv class from Symfony, where $usePutenv is set to false by default.
Is it possible for you to provide an update for the 6.4 version to address this issue? In the 6.5 version, you have already updated it.
I performed a Shopware update from
6.3
to6.4.20.2
using Symfony Flex yesterday and accordingly installed the appropriate Payone version viacomposer
. However, after the update, the variable "APP_SECRET" could no longer be found, which caused issues with the payment methods.I couldn't determine whether Shopware no longer executes
putenv
from version 6.4 onwards or if it has something to do with theDotenv
class from Symfony, where$usePutenv
is set tofalse
by default.Is it possible for you to provide an update for the 6.4 version to address this issue? In the 6.5 version, you have already updated it.
Other issues related to this topic: https://github.com/PAYONE-GmbH/shopware-6/issues/271 https://github.com/PAYONE-GmbH/shopware-6/issues/243
Version for Shopware 6.4: https://github.com/PAYONE-GmbH/shopware-6/blob/d601e52c19e76e3288106230534559fb4032f752/src/Components/CartHasher/CartHasher.php#L180
https://github.com/PAYONE-GmbH/shopware-6/blob/d601e52c19e76e3288106230534559fb4032f752/src/Components/RedirectHandler/RedirectHandler.php#L28
Updated version for Shopware 6.5: https://github.com/PAYONE-GmbH/shopware-6/blob/5497dc331342cf0114c3fa77453e72eefab72d06/src/Components/CartHasher/CartHasher.php#L151
https://github.com/PAYONE-GmbH/shopware-6/blob/5497dc331342cf0114c3fa77453e72eefab72d06/src/Components/RedirectHandler/RedirectHandler.php#L25