Paysera Payment Option with OmniPay

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
crazyforester
Posts: 60
Joined: 18 Jan 2016, 10:29

Paysera Payment Option with OmniPay

Post by crazyforester » 17 May 2019, 19:30

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

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: Paysera Payment Option with OmniPay

Post by aimeos » 20 May 2019, 22:11

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
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

crazyforester
Posts: 60
Joined: 18 Jan 2016, 10:29

Re: Paysera Payment Option with OmniPay

Post by crazyforester » 21 May 2019, 07:28

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

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: Paysera Payment Option with OmniPay

Post by aimeos » 21 May 2019, 22:51

We could add the driver to the extension but you have to find out how you get it to work yourself.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

crazyforester
Posts: 60
Joined: 18 Jan 2016, 10:29

Re: Paysera Payment Option with OmniPay

Post by crazyforester » 22 May 2019, 08:06

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

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: Paysera Payment Option with OmniPay

Post by aimeos » 22 May 2019, 19:27

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.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

crazyforester
Posts: 60
Joined: 18 Jan 2016, 10:29

Re: Paysera Payment Option with OmniPay

Post by crazyforester » 24 May 2019, 07:16

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

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: Paysera Payment Option with OmniPay

Post by aimeos » 26 May 2019, 07:27

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.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

egidijus
Posts: 1
Joined: 17 Jan 2021, 08:42

Re: Paysera Payment Option with OmniPay

Post by egidijus » 17 Jan 2021, 08:46

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\

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: Paysera Payment Option with OmniPay

Post by aimeos » 18 Jan 2021, 17:33

"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 -> ...
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply