V
V
Vasyl Fomin2018-07-16 17:49:16
Laravel
Vasyl Fomin, 2018-07-16 17:49:16

How to set Omnipay version compatibility for Laravel 5.6?

Hello! It is necessary to install the Omnipay library for Laravel 5.6 . I plan to use versions 2. *, because for 3 I did not find the necessary drivers for payment systems (so far in one project you need: Robokassa, Interkassa, in another: PayPal, WebMoney, payment via mastercard).
I tried to install the library wrapper for Laravel: ignited/laravel-omnipay . There are problems with versions: symfony/http-foundation, ymfony/event-dispatcher, guzzle/http... Apparently this package is no longer developed - the last commit was made more than a year ago.
Please advise which package you use to work with payments, maybe some other wrapper for working with Omnipay. Maybe somehow it is still possible to use the Omnipay 2 version drivers in version 3. Thanks in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Pushkarev, 2018-07-16
@AXP-dev

And what's the problem with making your own wrapper? Packages for Lara to adapt a couple of minutes.
1) Create an empty package
2) Throw dependencies league/omnipay
3) Make a config in the package (passwords, api, ...)
4) Make a main class that simply takes data from the config and creates an instance of the class from league/omnipay
5) For this, all the facade and all

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question