How to configure and adapt Aimeos based shops as developer
Forum rules: Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
#2418 by kshtjsharam68
28 Jan 2016, 11:16
I am using aimeos/payment and adding a new payment method using shopadmin of package but when using in frontent it is giving error FatalErrorException in OmniPay.php line 25:
Class 'Aimeos\MShop\Service\Provider\Payment\Base' not found
and this base file is not present in aimeo 2015 package but is in 2016 version. I need base.php and Iface.php in aimeo 1.0 version to use so how can i resolve this error and files problem.
#2420 by aimeos
28 Jan 2016, 11:24
You need the corresponding extension to the Aimeos core you are using:
- Version: 2016.01 -> Core 2016.01 -> Extensions: 2016.01
- Version: 1.x -> Core 2015.10 -> Extensions: 2015.10

In your case for Laravel/Symfony version 1.x you need the 2015.10 version of the ai-payments extension.
#2422 by aimeos
28 Jan 2016, 11:38
Extensions are installed via composer. You need to add the "ai-payments" extension to the "require" section in your "composer.json" file:
Code: Select all"require": {
  ...,
  "ai-payments": "2015.10"
},
#2423 by kshtjsharam68
28 Jan 2016, 11:49
Your requirements could not be resolved to an installable set of packages.

Problem 1
- The requested package ai-payments could not be found in any version, there may be a typo in the package name.
#2424 by aimeos
28 Jan 2016, 11:54
Sorry, my fault! It must be
Code: Select all"require": {
  ...,
  "aimeos/ai-payments": "~2015.10"
},
#2425 by kshtjsharam68
28 Jan 2016, 11:59
[Composer\DependencyResolver\SolverProblemsException]
Problem 1
- The requested package aimeos/ai-payments dev-master could not be foun
d.
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to you
r minimum-stability setting
see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussi
on> for more details.
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further
common problems.