bragento / magento2-cash-on-delivery-fee

Adds a fee for cash on delivery payment method
MIT License
15 stars 18 forks source link

PHP Versioning Issue #20

Open Nidis4 opened 5 years ago

Nidis4 commented 5 years ago

While installing I am getting some errors regarding PHP Version. I am working on 7.1 and your requirements are until 7.0.6,

Is there any fix for this?

magento/module-store 100.1.12 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6 -> your PHP version (7.1.27) does not satisfy that requirement

davidverholen commented 5 years ago

for which magento version are you installing? Magentos store module is making that restriction.

Nidis4 commented 5 years ago

Magento 2.3.1 I thought that the issues come from your composer requirements

davidverholen commented 5 years ago

there was a problem that the version of this package was not updated correctly and so it still required an outdated version of module-store.

It should work now with 2.1.1 of this package

R-K-Shrivastaw commented 5 years ago

HI I am also facing the same error. Could you let me know how to get 2.1.1 package My Magento version is 2.3.0

glivanis commented 1 year ago

Hi, same problem here: Package brandung/cash-on-delivery-fee has requirements incompatible with yo ur PHP version, PHP extensions and Composer version:

Magento V: 2.4.6 p1

Is there any workaround?

glivanis commented 1 year ago

Hi, same problem here: Package brandung/cash-on-delivery-fee has requirements incompatible with yo ur PHP version, PHP extensions and Composer version: - brandung/cash-on-delivery-fee 2.2.1 requires php ^7.0.0 which does not match your installed version 8.1.2.

Magento V: 2.4.6 p1

Is there any workaround?

Update: composer require brandung/cash-on-delivery-fee --ignore-platform-reqs fixes the problem. The installation continues as expected.