You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are currently trying to upload the ApplePay Certificate in the configuration area of Magento Admin Panel. Unfortunately, Magento Cloud is throwing the error "Warning: mkdir(): Read-only file system" since the upload is causing a mkdir-call for "vendor/payone-gmbh/magento-2/ApplePay":
Solution would be (since Magento Cloud has write permissions only in directory "var") to change the path in \Payone\Core\Helper\ApplePay::getApplePayUploadPath#43 to "var/payone-gmbh/ApplePay" or so.
I'm currently using PayOne version 3.7.0
The text was updated successfully, but these errors were encountered:
We have refactored the file upload so that it should also work for Magento Cloud users: (Which we can't test due to lack of access to a Magento Cloud store).
The solution is also built backwards compatible.
So new files are uploaded to the new location.
Old files from before the update will be recognized and loaded accordingly as long as no new upload has taken place.
The old folder was SHOPROOT/vendor/payone-gmbh/magento-2/ApplePay/.
The new folder is SHOPROOT/var/payone-gmbh/ApplePay/
Can you please have a look if this Pull-Request fits for you.
Hi,
We are currently trying to upload the ApplePay Certificate in the configuration area of Magento Admin Panel. Unfortunately, Magento Cloud is throwing the error "Warning: mkdir(): Read-only file system" since the upload is causing a mkdir-call for "vendor/payone-gmbh/magento-2/ApplePay":
\Payone\Core\Model\System\Config\Backend\Upload::moveFile#100
Solution would be (since Magento Cloud has write permissions only in directory "var") to change the path in \Payone\Core\Helper\ApplePay::getApplePayUploadPath#43 to "var/payone-gmbh/ApplePay" or so.
I'm currently using PayOne version 3.7.0
The text was updated successfully, but these errors were encountered: