Page 1 of 1

Paysera Payment Option with OmniPay

Posted: 17 May 2019, 19:30
by crazyforester
Hi,

I use Aimeos payments 18.10
I have selected
Provider: OmniPay
and I have set
omnipay.type = Paysera
and other settings in the standard way
and I see the following error
Class '\Omnipay\Paysera\Gateway' not found

Is it possible to tell what it could be wrong

Thank you in advance

Re: Paysera Payment Option with OmniPay

Posted: 20 May 2019, 22:11
by aimeos
Paysera isn't part of the aimeos_pay package. The easiest way is to use composer to add the driver - provided you have a composer based TYPO3 installation

Re: Paysera Payment Option with OmniPay

Posted: 21 May 2019, 07:28
by crazyforester
Unfortunately I don’t have a composer based Typo3 installation.
What do you think, is it possible to add the driver to ai_payment extension in any way.
Every idea or hint is welcome, thanks

Re: Paysera Payment Option with OmniPay

Posted: 21 May 2019, 22:51
by aimeos
We could add the driver to the extension but you have to find out how you get it to work yourself.

Re: Paysera Payment Option with OmniPay

Posted: 22 May 2019, 08:06
by crazyforester
I'm ready to try to get it worked.
Please, use the driver for version 3.x of Paysera of Semyon Chetvertnyh
link is here
https://github.com/semyonchetvertnyh/omnipay-paysera
many thanks

Re: Paysera Payment Option with OmniPay

Posted: 22 May 2019, 19:27
by aimeos
The aimeos_pay extension still uses Omnipay 2.x because there are still more drivers for 2.x so it's not possible to add that driver to the package. The best way is to switch to a composer based installation which is rather easy.

Re: Paysera Payment Option with OmniPay

Posted: 24 May 2019, 07:16
by crazyforester
I uses aimeos_pay 18.10.0, not version 19.4.1 .
Is it possible to add the proper version of driver in folder Libraries of extension and reinstall it?
Or anything else must be done
thanks

Re: Paysera Payment Option with OmniPay

Posted: 26 May 2019, 07:27
by aimeos
As you need to use Omnipay 3.x, aimeos_pay 2018.10 also doesn't fit because it still uses Omnipay 2.x. The easisest way is still to switch to a composer based installation.

Re: Paysera Payment Option with OmniPay

Posted: 17 Jan 2021, 08:46
by egidijus
can you help me with installing this driver?

https://github.com/semyonchetvertnyh/omnipay-paysera

Aimeos version 2020.10, PHP 7.3

i install omnipay-paysera using composer, no faults.
but i cannot see new payment in admin panel.

i put all files here

ext\ai-omnipay\

Re: Paysera Payment Option with OmniPay

Posted: 18 Jan 2021, 17:33
by aimeos
"ext\ai-omnipay\" is wrong, use

Code: Select all

composer req aimeos/ai-payments semyonchetvertnyh/omnipay-paysera
To install the Aimeos Omnipay adapter and the Paysera driver.

From the Omnipay Paysera docs:

Code: Select all

$gateway = Omnipay::create('Paysera');
$gateway->setProjectId('123456');
$gateway->setPassword('abcde12345');
In Aimeos this translates to:
Provider -> Omnipay
Configuration:
type -> Paysera
projectId -> ...
password -> ...