Hello,
While updating the module to the latest version 2.16.2 I noticed the logos were showing a 404 error.
After a little inverstigation I realised the folder is not part of the allowed_resources used by pub/get.php.
Lyranetwork_Lyra 2.16+ stores payment logos in pub/media/lyra/images but does not whitelist the folder, so pub/get.php returns 404 whenever nginx cannot serve the file directly.
You would need to add the following section to your etc/config.xml to allow magento to reach these images without changing the HTTP server config or the file permissions.
<system>
<media_storage_configuration>
<allowed_resources>
<lyra_images_folder>lyra</lyra_images_folder>
</allowed_resources>
</media_storage_configuration>
</system>
I use Lyra in my case but I've checked and the same is true for the others (PayZen, SystemPay, etc...)
Regards,
Hello,
While updating the module to the latest version 2.16.2 I noticed the logos were showing a 404 error.
After a little inverstigation I realised the folder is not part of the allowed_resources used by pub/get.php.
Lyranetwork_Lyra 2.16+ stores payment logos in pub/media/lyra/images but does not whitelist the folder, so pub/get.php returns 404 whenever nginx cannot serve the file directly.
You would need to add the following section to your etc/config.xml to allow magento to reach these images without changing the HTTP server config or the file permissions.
I use Lyra in my case but I've checked and the same is true for the others (PayZen, SystemPay, etc...)
Regards,