mollie / magento2

Mollie Payments for Magento 2
https://www.mollie.com
Other
98 stars 50 forks source link

composer require mollie/magento2 #680

Closed PieterCappelle closed 11 months ago

PieterCappelle commented 11 months ago

When trying to install Mollie in Magento2 i'm receicing the following error:

user@Macbook-2023:~/sites/test-mollie|master ⇒  composer require mollie/magento2                      
./composer.json has been updated
Running composer update mollie/magento2
Gathering patches for root package.
Loading composer repositories with package information
In Laminas\DependencyPlugin\DependencyRewriterV2::onPrePoolCreate
Updating dependencies
Lock file operations: 2 installs, 0 updates, 0 removals
  - Locking mollie/magento2 (2.29.1)
  - Locking mollie/mollie-api-php (v2.61.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 2 installs, 0 updates, 0 removals
Gathering patches for root package.
Gathering patches for dependencies. This might take a minute.
  - Installing mollie/mollie-api-php (v2.61.0): Extracting archive
    Install of mollie/mollie-api-php failed

In PluginManager.php(277) : eval()'d code line 160:

  Higher matching version 2.30.0 of mollie/magento2 was found in public repository packagist.org                                                 
                               than 2.29.1 in private https://repo.magento.com. Public package might've been taken over by a malicious entity,   
                               please investigate and update package requirement to match the version from the private repository                

require [--dev] [--dry-run] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--fixed] [--no-suggest] [--no-progress] [--no-update] [--no-install] [--no-audit] [--audit-format AUDIT-FORMAT] [--update-no-dev] [-w|--update-with-dependencies] [-W|--update-with-all-dependencies] [--with-dependencies] [--with-all-dependencies] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--] [<packages>...]
Frank-Magmodules commented 11 months ago

Hello @PieterCappelle, This situation occurs when the Mollie module hasn't been made available on the Marketplace just yet. In the meantime, you have the option to utilize this workaround or simply await its release on the Marketplace, which is likely to take place sometime this week.

I'll be marking this issue as resolved for now, but please don't hesitate to reach out directly or respond to this thread if you require further assistance.