Page 1 of 2
Omnipay error
Posted: 28 Jan 2016, 11:16
by kshtjsharam68
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.
Re: MSHOP error
Posted: 28 Jan 2016, 11:24
by aimeos
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.
changing extension
Posted: 28 Jan 2016, 11:33
by kshtjsharam68
How can i change my ai-payment extension to your specified version.
Re: MSHOP error
Posted: 28 Jan 2016, 11:38
by aimeos
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"
},
update error
Posted: 28 Jan 2016, 11:49
by kshtjsharam68
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.
Re: MSHOP error
Posted: 28 Jan 2016, 11:54
by aimeos
Sorry, my fault! It must be
Code: Select all
"require": {
...,
"aimeos/ai-payments": "~2015.10"
},
Error
Posted: 28 Jan 2016, 11:59
by kshtjsharam68
[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/compo ... c/discussi
on> for more details.
Read <
https://getcomposer.org/doc/articles/troubleshooting.md> for further
common problems.
Re: MSHOP error
Posted: 28 Jan 2016, 12:03
by kshtjsharam68
srry , that was my mistake ..
i gave package in require-dev
Re: MSHOP error
Posted: 28 Jan 2016, 12:14
by kshtjsharam68
Thank you that worked.
Another error
Posted: 28 Jan 2016, 12:34
by kshtjsharam68
Class '\Omnipay\\Gateway' not found
while using custom pay method.
how can resolve this