Page 2 of 2

Re: Omnipay error

Posted: 28 Jan 2016, 15:00
by aimeos
You need at least omnipay/common as dependency if you want to write your own Omnipay driver:
https://github.com/thephpleague/omnipay#package-layout

Re: Omnipay error:

Posted: 28 Jan 2016, 19:12
by kshtjsharam68
How to add new custom payment gateway in my aimeos
as my custome gives error Class '\Omnipay\\Gateway' not found

Re: Omnipay error

Posted: 29 Jan 2016, 06:20
by kshtjsharam68
actually my Omnipay is already installed and I am using custom payment method and has created files in ext/ai-payments/../MShop/service/Providers/Payment/Omnipay.php. Do i am required to do any settings in that files for setting up gateway as it is giving me error for Class '\Omnipay\Omni\Gateway' not found,as here Omni is gateway.
So if any settings are required in this file then plz specify.

Re: Omnipay error

Posted: 29 Jan 2016, 09:17
by aimeos
You should build a new Omnipay driver without Aimeos as you don't necessarily need to implement a class in the ai-payments extension. Be sure you follow the guidelines from http://omnipay.thephpleague.com/gateway ... -your-own/ so it will work in Aimeos too.

Re: Omnipay error

Posted: 30 Jan 2016, 08:52
by kshtjsharam68
Thanks helped a lot.