Omnipay-sofort installation/setup problems on ~2021.10

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
MikaelNazarenko
Expert
Posts: 274
Joined: 27 Jun 2019, 16:19

Omnipay-sofort installation/setup problems on ~2021.10

Post by MikaelNazarenko » 28 Apr 2022, 05:14

Hi, Aimeos !

My current version is:

Code: Select all

aimeos/aimeos-core                 2021.10.6
I want to install sofort, so I run:

Code: Select all

php composer.phar req aimeos/ai-payments aimeoscom/omnipay-sofort
But I get the error:

Code: Select all

 Problem 1
    - Root composer.json requires aimeos/ai-payments ^2022.04 -> satisfiable by aimeos/ai-payments[2022.04.1, 2022.04.2, 2022.04.x-dev].
    - aimeos/ai-payments[2022.04.1, ..., 2022.04.x-dev] require aimeos/aimeos-core ~2022.04 -> found aimeos/aimeos-core[2022.04.1, ..., 2022.04.x-dev] but the package is fixed to 2021.10.6 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require aimeos/ai-payments:*" to figure out if any version is installable, or "composer require aimeos/ai-payments:^2.1" if you know which you need.
So should I update the aimeos version ? Will not it break my custom code ? So how can I solve it and install sofort ?

Thanks a lot !
Last edited by MikaelNazarenko on 29 Apr 2022, 06:27, edited 1 time in total.

User avatar
aimeos
Administrator
Posts: 7895
Joined: 01 Jan 1970, 00:00

Re: Update to 2022.04 (Laravel 9.x)

Post by aimeos » 28 Apr 2022, 05:29

Use

Code: Select all

php composer.phar req aimeos/ai-payments:~2021.10 aimeoscom/omnipay-sofort
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

MikaelNazarenko
Expert
Posts: 274
Joined: 27 Jun 2019, 16:19

Re: Omnipay-sofort installation/setup problems on ~2021.10

Post by MikaelNazarenko » 29 Apr 2022, 06:33

Thanks, Aimeos, the installation worked for me with your command !

But problem with configuration. As described here https://aimeos.org/docs/latest/manual/services/#sofort there must be more fields in config, especially projectId, username, password.. etc..

But here is attached image of my fields..

What could be the problem? Thanks a lot !
Attachments
ca583340-a404-4407-a837-94a54ea3be6b.jpeg
ca583340-a404-4407-a837-94a54ea3be6b.jpeg (50.65 KiB) Viewed 820 times

User avatar
aimeos
Administrator
Posts: 7895
Joined: 01 Jan 1970, 00:00

Re: Omnipay-sofort installation/setup problems on ~2021.10

Post by aimeos » 29 Apr 2022, 14:44

Use the "+" icon in the upper right of the Option/Value table to add more lines which you can fill the required configuration in.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply