Skip to content

Issue while composer update in Magento 2 cloud

We want to install a new module in our project. For this, I have used Composer to install it and below are the steps followed:

  1. The current version of Magento is the 2.4.6 cloud edition.
  2. When I have installed the Adyen module using the command: composer require adyen/module-payment --no-update
  3. Then I executed: the composer update
  4. After this, when I checked Magento version is updated to 2.4.6-p7

Moving from 2.4.6 to 2.4.6-p7 is a big change, and we don’t have time to upgrade to the latest version so we want to maintain our old version.

Can anyone help us to understand how we can achieve this?