installing omnipay driver
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!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
- bilginkilic
- Posts: 34
- Joined: 05 Jul 2020, 07:08
installing omnipay driver
I have installed aimeos laravel
aimeos ai-payment extension and it is said that I need to install omnipay driver.
https://aimeos.org/docs/User_Manual/Adm ... st#Omnipay
I will use Yandex.Kassa so that I found this link
https://github.com/thephpleague/omnipay ... t-gateways
So how can I do it? I mean which line of commands I need to make according to :
https://github.com/hiqdev/omnipay-yandex-kassa I mean how to edit composer according to this omnipay in order to see this yandex kassa as a service in payment service of aimeos laravel admin backend.
aimeos ai-payment extension and it is said that I need to install omnipay driver.
https://aimeos.org/docs/User_Manual/Adm ... st#Omnipay
If you use composer, you have to add the Omnipay payment driver you want to use to your composer.json and run composer update.
I will use Yandex.Kassa so that I found this link
https://github.com/thephpleague/omnipay ... t-gateways
So how can I do it? I mean which line of commands I need to make according to :
https://github.com/hiqdev/omnipay-yandex-kassa I mean how to edit composer according to this omnipay in order to see this yandex kassa as a service in payment service of aimeos laravel admin backend.
@bilginkilic_ (twitter)
Re: installing omnipay driver
You have to install the "hiqdev/omnipay-yandex-kassa" package using:
The driver doesn't contain any documentation regarding the required settings and the source code only contains these two configuration options:
* shopId -> ...
* secret -> ...
https://github.com/hiqdev/omnipay-yande ... hp#L54-L72
In the Aimeos service panel, you have to use:
* type -> Yandex.Kassa
https://aimeos.org/docs/User_Manual/Adm ... st#Omnipay
Code: Select all
composer req hiqdev/omnipay-yandex-kassa
* shopId -> ...
* secret -> ...
https://github.com/hiqdev/omnipay-yande ... hp#L54-L72
In the Aimeos service panel, you have to use:
* type -> Yandex.Kassa
https://aimeos.org/docs/User_Manual/Adm ... st#Omnipay
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

- bilginkilic
- Posts: 34
- Joined: 05 Jul 2020, 07:08
Re: installing omnipay driver
installed ai-payments
and then
composer require league/omnipay:^3 hiqdev/omnipay-yandex-kassa
but when I go to back end and try to add service, payment, the provider of yandex kassa do not appear, what else should we do to see it?
now only options are directdebit, paypalexpress, postpay and prepay
and then
composer require league/omnipay:^3 hiqdev/omnipay-yandex-kassa
but when I go to back end and try to add service, payment, the provider of yandex kassa do not appear, what else should we do to see it?
now only options are directdebit, paypalexpress, postpay and prepay
@bilginkilic_ (twitter)
Re: installing omnipay driver
Add a new service item with type "Payment" and choose "Omnipay" in the "Provider" fields. Then, add the configuration settings in the right Option/Value table like written above.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

- bilginkilic
- Posts: 34
- Joined: 05 Jul 2020, 07:08
Re: installing omnipay driver
I have installed ai payments, omnipay, yandex.kassa driver; all successful but now I get this error;
My configuration is like this: When I shop I get this error: Class '\Omnipay\Yandex.Kassa\Gateway' not found how can I fix it?
https://prnt.sc/tsqsvr
https://prnt.sc/tsqt7g
my composer json
My configuration is like this: When I shop I get this error: Class '\Omnipay\Yandex.Kassa\Gateway' not found how can I fix it?
https://prnt.sc/tsqsvr
https://prnt.sc/tsqt7g
my composer json
Code: Select all
"require": {
"php": "^7.2",
"aimeos/ai-payments": "~2020.07.1",
"aimeos/aimeos-laravel": "~2020.07",
"composer/installers": "^1.9",
"fideloper/proxy": "^4.0",
"hiqdev/omnipay-yandex-kassa": "^3.0",
"laravel/framework": "^6.0",
"laravel/tinker": "^1.0",
"laravel/ui": "^1.0",
"omnipay/common": "^3.0",
"php-http/guzzle6-adapter": "^1.0",
"php-http/httplug": "^1.0"
},
@bilginkilic_ (twitter)
Re: installing omnipay driver
Looking at the source code of the driver i think "type" should be "YandexKassa" (without dot in between):
https://github.com/hiqdev/omnipay-yande ... ay.php#L11
https://github.com/hiqdev/omnipay-yande ... ay.php#L11
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

- bilginkilic
- Posts: 34
- Joined: 05 Jul 2020, 07:08
Re: installing omnipay driver
Now getting this error: The capture parameter is required
any suggestion? I have added capture parameter but it did not worked also.
https://prnt.sc/tsqy9x
https://prnt.sc/tt0dkg
any suggestion? I have added capture parameter but it did not worked also.
https://prnt.sc/tsqy9x
https://prnt.sc/tt0dkg
@bilginkilic_ (twitter)
- bilginkilic
- Posts: 34
- Joined: 05 Jul 2020, 07:08
Re: installing omnipay driver
I manually set capture parameter for omnipay
$this->parameters->set('capture',1);
I was expecting it should get the data parameter defined in admin panel.
$this->parameters->set('capture',1);
I was expecting it should get the data parameter defined in admin panel.
@bilginkilic_ (twitter)
-
- Posts: 1
- Joined: 19 Sep 2020, 05:40
Re: installing omnipay driver
Thank you so much for your great information, It is too useful for me.bilginkilic wrote: ↑05 Aug 2020, 06:29 I manually set capture parameter for omnipay
$this->parameters->set('capture',1);
I was expecting it should get the data parameter defined in admin panel.