Omnipay for Laravel

Overview

Omnipay for Laravel 5/6/7/8 & Lumen

Total Downloads Latest Version

Integrates the Omnipay PHP library with Laravel 5 via a ServiceProvider to make Configuring multiple payment tunnels a breeze!

Laravel 4 Support

For Laravel 4 see the version 1.x tree

Omnipay 2.3/2.5

Version 2.0 and onwards has been updated to use Omnipay 2.3.

Version 2.2 and onwards is using Omnipay 2.5

Version 2.3 and onwards supports Laravel 5.4

Omnipay 3 Support

Version 3.0 and onwards supports Omnipay 3.0 and Laravel 5.3, 5.4, 5.5, 5.6, 5.7

Version 3.1 and onwards supports Omnipay 3.0 and Laravel 5.3, 5.4, 5.5, 5.6, 5.7, 6.0

Version 3.2 and onwards supports Omnipay 3.0 and Laravel 5.3, 5.4, 5.5, 5.6, 5.7, 6.0, 7.0

Version 3.3 and onwards supports Omnipay 3.0 and Laravel 5.3, 5.4, 5.5, 5.6, 5.7, 6.0, 7.0, 8.0

Composer Configuration

Include the laravel-omnipay package as a dependency in your composer.json:

composer require ignited/laravel-omnipay "3.*"

Note: You don't need to include the omnipay/common in your composer.json - it is a requirement of the laravel-omnipay package.

Omnipay recently went refactoring that made it so that each package is now a seperate repository. The omnipay/common package includes the core framework. You will then need to include each gateway as you require. For example:

composer require omnipay/eway "3.*"

Alternatively you can include every gateway by requring:

composer require omnipay/omnipay "3.*"

Note: this requires a large amount of composer work as it needs to fetch each seperate repository. This is not recommended.

Guzzle 6

If you are using Guzzle 6 you need to require the following package.

composer require php-http/guzzle6-adapter

Guzzle 7 now implements a PSR http client compliant adapter. So there is no need to include this.

Laravel 5

Add a ServiceProvider to your providers array in config/app.php:

'providers' => [

	Ignited\LaravelOmnipay\LaravelOmnipayServiceProvider::class

]

Add the Omnipay facade to your facades array:

	'Omnipay' => Ignited\LaravelOmnipay\Facades\OmnipayFacade::class

Finally, publish the configuration files:

php artisan vendor:publish --provider="Ignited\LaravelOmnipay\LaravelOmnipayServiceProvider" --tag=config

Lumen

For Lumen add the following in your bootstrap/app.php

$app->register(Ignited\LaravelOmnipay\LumenOmnipayServiceProvider::class);

Copy the laravel-omnipay.php file from the config directory to config/laravel-omnipay.php

And also add the following to bootstrap/app.php

$app->configure('laravel-omnipay');

Configuration

Once you have published the configuration files, you can add your gateway options to the config file in config/laravel-omnipay.php.

PayPal Express Example

Here is an example of how to configure password, username and, signature with paypal express checkout driver

...
'gateways' => [
    'paypal' => [
        'driver'  => 'PayPal_Express',
        'options' => [
            'username'  => env( 'OMNIPAY_PAYPAL_EXPRESS_USERNAME', '' ),
            'password'  => env( 'OMNIPAY_PAYPAL_EXPRESS_PASSWORD', '' ),
            'signature' => env( 'OMNIPAY_PAYPAL_EXPRESS_SIGNATURE', '' ),
            'solutionType' => env( 'OMNIPAY_PAYPAL_EXPRESS_SOLUTION_TYPE', '' ),
            'landingPage'    => env( 'OMNIPAY_PAYPAL_EXPRESS_LANDING_PAGE', '' ),
            'headerImageUrl' => env( 'OMNIPAY_PAYPAL_EXPRESS_HEADER_IMAGE_URL', '' ),
            'brandName' =>  'Your app name',
            'testMode' => env( 'OMNIPAY_PAYPAL_TEST_MODE', true )
        ]
    ],
]
...

Usage

$cardInput = [
	'number'      => '4444333322221111',
	'firstName'   => 'MR. WALTER WHITE',
	'expiryMonth' => '03',
	'expiryYear'  => '16',
	'cvv'         => '333',
];

$card = Omnipay::creditCard($cardInput);
$response = Omnipay::purchase([
	'amount'    => '100.00',
	'returnUrl' => 'http://bobjones.com/payment/return',
	'cancelUrl' => 'http://bobjones.com/payment/cancel',
	'card'      => $cardInput
])->send();

dd($response->getMessage());

This will use the gateway specified in the config as default.

However, you can also specify a gateway to use.

Omnipay::setGateway('eway');

$response = Omnipay::purchase([
	'amount' => '100.00',
	'card'   => $cardInput
])->send();

dd($response->getMessage());

In addition you can take an instance of the gateway.

$gateway = Omnipay::gateway('eway');
Comments
  • Won't install in Laravel 5.4

    Won't install in Laravel 5.4

    When I try to add Laravel Omnipay using composer require ignited/laravel-omnipay 2.* I get an error with Composer:

    ./composer.json has been updated
    Loading composer repositories with package information
    Updating dependencies (including require-dev)
    Your requirements could not be resolved to an installable set of packages.
    
      Problem 1
        - Conclusion: don't install ignited/laravel-omnipay 2.3.0
        - Conclusion: don't install ignited/laravel-omnipay 2.2.0
        - Conclusion: don't install ignited/laravel-omnipay 2.1.0
        - Conclusion: don't install omnipay/common v2.3.4
        - Conclusion: don't install symfony/http-foundation v3.3.9|install omnipay/common v2.3.4
        - Installation request for symfony/event-dispatcher (locked at v3.3.9) -> satisfiable by symfony/event-dispatcher[v3.3.9].
        - Conclusion: don't install ignited/laravel-omnipay 2.1.0|remove symfony/http-foundation v3.3.9|install omnipay/common v2.3.4
        - Conclusion: don't install ignited/laravel-omnipay 2.1.0|don't install symfony/http-foundation v3.3.9|install omnipay/common v2.3.4
        - Installation request for ignited/laravel-omnipay 2.* -> satisfiable by ignited/laravel-omnipay[2.0.0, 2.1.0, 2.2.0, 2.3.0].
        - Conclusion: remove symfony/http-foundation v3.3.9|install omnipay/common v2.3.4
        - ignited/laravel-omnipay 2.0.0 requires omnipay/common 2.3.* -> satisfiable by omnipay/common[2.3.2, v2.3.0, v2.3.1, v2.3.3, v2.3.4].
        - omnipay/common 2.3.2 requires symfony/http-foundation ~2.1 -> satisfiable by symfony/http-foundation[v2.1.0, v2.1.1, v2.1.10, v2.1.11, v2.1.12, v2.1.13, v2.1.2, v2.1.3, v2.1.4, v2.1.5, v2.1.6, v2.1.7, v2.1.8, v2.1.9, v2.2.0, v2.2.1, v2.2.10, v2.2.11, v2.2.2, v2.2.3, v2.2.4, v2.2.5, v2.2.6, v2.2.7, v2.2.8, v2.2.9, v2.3.0, v2.3.1, v2.3.10, v2.3.11, v2.3.12, v2.3.13, v2.3.14, v2.3.15, v2.3.16, v2.3.17, v2.3.18, v2.3.19, v2.3.2, v2.3.20, v2.3.21, v2.3.22, v2.3.23, v2.3.24, v2.3.25, v2.3.26, v2.3.27, v2.3.28, v2.3.29, v2.3.3, v2.3.30, v2.3.31, v2.3.32, v2.3.33, v2.3.34, v2.3.35, v2.3.36, v2.3.37, v2.3.38, v2.3.39, v2.3.4, v2.3.40, v2.3.41, v2.3.42, v2.3.5, v2.3.6, v2.3.7, v2.3.8, v2.3.9, v2.4.0, v2.4.1, v2.4.10, v2.4.2, v2.4.3, v2.4.4, v2.4.5, v2.4.6, v2.4.7, v2.4.8, v2.4.9, v2.5.0, v2.5.1, v2.5.10, v2.5.11, v2.5.12, v2.5.2, v2.5.3, v2.5.4, v2.5.5, v2.5.6, v2.5.7, v2.5.8, v2.5.9, v2.6.0, v2.6.1, v2.6.10, v2.6.11, v2.6.12, v2.6.13, v2.6.2, v2.6.3, v2.6.4, v2.6.5, v2.6.6, v2.6.7, v2.6.8, v2.6.9, v2.7.0, v2.7.1, v2.7.10, v2.7.11, v2.7.12, v2.7.13, v2.7.14, v2.7.15, v2.7.16, v2.7.17, v2.7.18, v2.7.19, v2.7.2, v2.7.20, v2.7.21, v2.7.22, v2.7.23, v2.7.24, v2.7.25, v2.7.26, v2.7.27, v2.7.28, v2.7.29, v2.7.3, v2.7.30, v2.7.31, v2.7.32, v2.7.33, v2.7.34, v2.7.4, v2.7.5, v2.7.6, v2.7.7, v2.7.8, v2.7.9, v2.8.0, v2.8.1, v2.8.10, v2.8.11, v2.8.12, v2.8.13, v2.8.14, v2.8.15, v2.8.16, v2.8.17, v2.8.18, v2.8.19, v2.8.2, v2.8.20, v2.8.21, v2.8.22, v2.8.23, v2.8.24, v2.8.25, v2.8.26, v2.8.27, v2.8.3, v2.8.4, v2.8.5, v2.8.6, v2.8.7, v2.8.8, v2.8.9].
        - omnipay/common v2.3.0 requires symfony/http-foundation ~2.1 -> satisfiable by symfony/http-foundation[v2.1.0, v2.1.1, v2.1.10, v2.1.11, v2.1.12, v2.1.13, v2.1.2, v2.1.3, v2.1.4, v2.1.5, v2.1.6, v2.1.7, v2.1.8, v2.1.9, v2.2.0, v2.2.1, v2.2.10, v2.2.11, v2.2.2, v2.2.3, v2.2.4, v2.2.5, v2.2.6, v2.2.7, v2.2.8, v2.2.9, v2.3.0, v2.3.1, v2.3.10, v2.3.11, v2.3.12, v2.3.13, v2.3.14, v2.3.15, v2.3.16, v2.3.17, v2.3.18, v2.3.19, v2.3.2, v2.3.20, v2.3.21, v2.3.22, v2.3.23, v2.3.24, v2.3.25, v2.3.26, v2.3.27, v2.3.28, v2.3.29, v2.3.3, v2.3.30, v2.3.31, v2.3.32, v2.3.33, v2.3.34, v2.3.35, v2.3.36, v2.3.37, v2.3.38, v2.3.39, v2.3.4, v2.3.40, v2.3.41, v2.3.42, v2.3.5, v2.3.6, v2.3.7, v2.3.8, v2.3.9, v2.4.0, v2.4.1, v2.4.10, v2.4.2, v2.4.3, v2.4.4, v2.4.5, v2.4.6, v2.4.7, v2.4.8, v2.4.9, v2.5.0, v2.5.1, v2.5.10, v2.5.11, v2.5.12, v2.5.2, v2.5.3, v2.5.4, v2.5.5, v2.5.6, v2.5.7, v2.5.8, v2.5.9, v2.6.0, v2.6.1, v2.6.10, v2.6.11, v2.6.12, v2.6.13, v2.6.2, v2.6.3, v2.6.4, v2.6.5, v2.6.6, v2.6.7, v2.6.8, v2.6.9, v2.7.0, v2.7.1, v2.7.10, v2.7.11, v2.7.12, v2.7.13, v2.7.14, v2.7.15, v2.7.16, v2.7.17, v2.7.18, v2.7.19, v2.7.2, v2.7.20, v2.7.21, v2.7.22, v2.7.23, v2.7.24, v2.7.25, v2.7.26, v2.7.27, v2.7.28, v2.7.29, v2.7.3, v2.7.30, v2.7.31, v2.7.32, v2.7.33, v2.7.34, v2.7.4, v2.7.5, v2.7.6, v2.7.7, v2.7.8, v2.7.9, v2.8.0, v2.8.1, v2.8.10, v2.8.11, v2.8.12, v2.8.13, v2.8.14, v2.8.15, v2.8.16, v2.8.17, v2.8.18, v2.8.19, v2.8.2, v2.8.20, v2.8.21, v2.8.22, v2.8.23, v2.8.24, v2.8.25, v2.8.26, v2.8.27, v2.8.3, v2.8.4, v2.8.5, v2.8.6, v2.8.7, v2.8.8, v2.8.9].
        - omnipay/common v2.3.1 requires symfony/http-foundation ~2.1 -> satisfiable by symfony/http-foundation[v2.1.0, v2.1.1, v2.1.10, v2.1.11, v2.1.12, v2.1.13, v2.1.2, v2.1.3, v2.1.4, v2.1.5, v2.1.6, v2.1.7, v2.1.8, v2.1.9, v2.2.0, v2.2.1, v2.2.10, v2.2.11, v2.2.2, v2.2.3, v2.2.4, v2.2.5, v2.2.6, v2.2.7, v2.2.8, v2.2.9, v2.3.0, v2.3.1, v2.3.10, v2.3.11, v2.3.12, v2.3.13, v2.3.14, v2.3.15, v2.3.16, v2.3.17, v2.3.18, v2.3.19, v2.3.2, v2.3.20, v2.3.21, v2.3.22, v2.3.23, v2.3.24, v2.3.25, v2.3.26, v2.3.27, v2.3.28, v2.3.29, v2.3.3, v2.3.30, v2.3.31, v2.3.32, v2.3.33, v2.3.34, v2.3.35, v2.3.36, v2.3.37, v2.3.38, v2.3.39, v2.3.4, v2.3.40, v2.3.41, v2.3.42, v2.3.5, v2.3.6, v2.3.7, v2.3.8, v2.3.9, v2.4.0, v2.4.1, v2.4.10, v2.4.2, v2.4.3, v2.4.4, v2.4.5, v2.4.6, v2.4.7, v2.4.8, v2.4.9, v2.5.0, v2.5.1, v2.5.10, v2.5.11, v2.5.12, v2.5.2, v2.5.3, v2.5.4, v2.5.5, v2.5.6, v2.5.7, v2.5.8, v2.5.9, v2.6.0, v2.6.1, v2.6.10, v2.6.11, v2.6.12, v2.6.13, v2.6.2, v2.6.3, v2.6.4, v2.6.5, v2.6.6, v2.6.7, v2.6.8, v2.6.9, v2.7.0, v2.7.1, v2.7.10, v2.7.11, v2.7.12, v2.7.13, v2.7.14, v2.7.15, v2.7.16, v2.7.17, v2.7.18, v2.7.19, v2.7.2, v2.7.20, v2.7.21, v2.7.22, v2.7.23, v2.7.24, v2.7.25, v2.7.26, v2.7.27, v2.7.28, v2.7.29, v2.7.3, v2.7.30, v2.7.31, v2.7.32, v2.7.33, v2.7.34, v2.7.4, v2.7.5, v2.7.6, v2.7.7, v2.7.8, v2.7.9, v2.8.0, v2.8.1, v2.8.10, v2.8.11, v2.8.12, v2.8.13, v2.8.14, v2.8.15, v2.8.16, v2.8.17, v2.8.18, v2.8.19, v2.8.2, v2.8.20, v2.8.21, v2.8.22, v2.8.23, v2.8.24, v2.8.25, v2.8.26, v2.8.27, v2.8.3, v2.8.4, v2.8.5, v2.8.6, v2.8.7, v2.8.8, v2.8.9].
        - omnipay/common v2.3.3 requires symfony/http-foundation ~2.1 -> satisfiable by symfony/http-foundation[v2.1.0, v2.1.1, v2.1.10, v2.1.11, v2.1.12, v2.1.13, v2.1.2, v2.1.3, v2.1.4, v2.1.5, v2.1.6, v2.1.7, v2.1.8, v2.1.9, v2.2.0, v2.2.1, v2.2.10, v2.2.11, v2.2.2, v2.2.3, v2.2.4, v2.2.5, v2.2.6, v2.2.7, v2.2.8, v2.2.9, v2.3.0, v2.3.1, v2.3.10, v2.3.11, v2.3.12, v2.3.13, v2.3.14, v2.3.15, v2.3.16, v2.3.17, v2.3.18, v2.3.19, v2.3.2, v2.3.20, v2.3.21, v2.3.22, v2.3.23, v2.3.24, v2.3.25, v2.3.26, v2.3.27, v2.3.28, v2.3.29, v2.3.3, v2.3.30, v2.3.31, v2.3.32, v2.3.33, v2.3.34, v2.3.35, v2.3.36, v2.3.37, v2.3.38, v2.3.39, v2.3.4, v2.3.40, v2.3.41, v2.3.42, v2.3.5, v2.3.6, v2.3.7, v2.3.8, v2.3.9, v2.4.0, v2.4.1, v2.4.10, v2.4.2, v2.4.3, v2.4.4, v2.4.5, v2.4.6, v2.4.7, v2.4.8, v2.4.9, v2.5.0, v2.5.1, v2.5.10, v2.5.11, v2.5.12, v2.5.2, v2.5.3, v2.5.4, v2.5.5, v2.5.6, v2.5.7, v2.5.8, v2.5.9, v2.6.0, v2.6.1, v2.6.10, v2.6.11, v2.6.12, v2.6.13, v2.6.2, v2.6.3, v2.6.4, v2.6.5, v2.6.6, v2.6.7, v2.6.8, v2.6.9, v2.7.0, v2.7.1, v2.7.10, v2.7.11, v2.7.12, v2.7.13, v2.7.14, v2.7.15, v2.7.16, v2.7.17, v2.7.18, v2.7.19, v2.7.2, v2.7.20, v2.7.21, v2.7.22, v2.7.23, v2.7.24, v2.7.25, v2.7.26, v2.7.27, v2.7.28, v2.7.29, v2.7.3, v2.7.30, v2.7.31, v2.7.32, v2.7.33, v2.7.34, v2.7.4, v2.7.5, v2.7.6, v2.7.7, v2.7.8, v2.7.9, v2.8.0, v2.8.1, v2.8.10, v2.8.11, v2.8.12, v2.8.13, v2.8.14, v2.8.15, v2.8.16, v2.8.17, v2.8.18, v2.8.19, v2.8.2, v2.8.20, v2.8.21, v2.8.22, v2.8.23, v2.8.24, v2.8.25, v2.8.26, v2.8.27, v2.8.3, v2.8.4, v2.8.5, v2.8.6, v2.8.7, v2.8.8, v2.8.9].
        - Can only install one of: symfony/http-foundation[v2.1.0, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.1.1, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.1.10, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.1.11, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.1.12, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.1.13, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.1.2, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.1.3, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.1.4, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.1.5, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.1.6, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.1.7, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.1.8, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.1.9, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.2.0, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.2.1, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.2.10, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.2.11, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.2.2, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.2.3, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.2.4, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.2.5, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.2.6, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.2.7, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.2.8, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.2.9, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.3.0, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.3.1, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.3.10, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.3.11, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.3.12, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.3.13, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.3.14, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.3.15, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.3.16, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.3.17, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.3.18, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.3.19, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.3.2, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.3.20, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.3.21, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.3.22, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.3.23, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.3.24, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.3.25, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.3.26, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.3.27, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.3.28, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.3.29, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.3.3, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.3.30, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.3.31, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.3.32, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.3.33, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.3.34, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.3.35, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.3.36, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.3.37, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.3.38, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.3.39, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.3.4, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.3.40, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.3.41, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.3.42, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.3.5, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.3.6, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.3.7, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.3.8, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.3.9, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.4.0, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.4.1, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.4.10, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.4.2, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.4.3, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.4.4, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.4.5, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.4.6, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.4.7, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.4.8, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.4.9, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.5.0, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.5.1, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.5.10, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.5.11, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.5.12, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.5.2, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.5.3, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.5.4, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.5.5, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.5.6, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.5.7, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.5.8, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.5.9, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.6.0, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.6.1, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.6.10, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.6.11, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.6.12, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.6.13, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.6.2, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.6.3, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.6.4, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.6.5, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.6.6, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.6.7, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.6.8, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.6.9, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.7.0, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.7.1, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.7.10, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.7.11, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.7.12, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.7.13, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.7.14, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.7.15, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.7.16, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.7.17, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.7.18, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.7.19, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.7.2, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.7.20, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.7.21, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.7.22, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.7.23, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.7.24, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.7.25, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.7.26, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.7.27, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.7.28, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.7.29, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.7.3, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.7.30, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.7.31, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.7.32, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.7.33, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.7.34, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.7.4, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.7.5, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.7.6, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.7.7, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.7.8, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.7.9, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.8.0, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.8.1, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.8.10, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.8.11, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.8.12, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.8.13, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.8.14, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.8.15, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.8.16, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.8.17, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.8.18, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.8.19, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.8.2, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.8.20, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.8.21, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.8.22, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.8.23, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.8.24, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.8.25, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.8.26, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.8.27, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.8.3, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.8.4, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.8.5, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.8.6, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.8.7, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.8.8, v3.3.9].
        - Can only install one of: symfony/http-foundation[v2.8.9, v3.3.9].
        - Installation request for symfony/http-foundation (locked at v3.3.9) -> satisfiable by symfony/http-foundation[v3.3.9].
    
    
    Installation failed, reverting ./composer.json to its original content.
    

    Any ideas?

    opened by Jamesking56 11
  • Including optional Guzzle client to use in place of default

    Including optional Guzzle client to use in place of default

    There is a problem with the certificates in the old Guzzle version that is currently used in Omnipay. To work round this, it is necessary to provide an alternative Guzzle client with appropriate settings. These changes enable that.

    opened by nicksnellockts 9
  • Unable to install omnipay with Laravel 4.1

    Unable to install omnipay with Laravel 4.1

    Hi - Is this package working with Laravel 4.1?

    I have started a new Laravel install and my composer.json is as follows:

        "require": {
            "laravel/framework": "4.1.*",
            "ignited/laravel-omnipay": "1.0.*",
            "omnipay/sagepay": "*"
        },
    

    Output of composer update

    Loading composer repositories with package information
    Updating dependencies (including require-dev)
    Your requirements could not be resolved to an installable set of packages.
    
      Problem 1
        - Conclusion: remove laravel/framework v4.1.21
        - Conclusion: don't install laravel/framework v4.1.21
        - Conclusion: don't install laravel/framework v4.1.20
        - Conclusion: don't install laravel/framework v4.1.19
        - Conclusion: don't install laravel/framework v4.1.18
        - Conclusion: don't install laravel/framework v4.1.17
        - Conclusion: don't install laravel/framework v4.1.16
        - Conclusion: don't install laravel/framework v4.1.15
        - Conclusion: don't install laravel/framework v4.1.14
        - Conclusion: don't install laravel/framework v4.1.13
        - Conclusion: don't install laravel/framework v4.1.12
        - Conclusion: don't install laravel/framework v4.1.11
        - Conclusion: don't install laravel/framework v4.1.10
        - Conclusion: don't install laravel/framework v4.1.9
        - Conclusion: don't install laravel/framework v4.1.8
        - Conclusion: don't install laravel/framework v4.1.7
        - Conclusion: don't install laravel/framework v4.1.6
        - Conclusion: don't install laravel/framework v4.1.5
        - Conclusion: don't install laravel/framework v4.1.4
        - Conclusion: don't install laravel/framework v4.1.3
        - Installation request for ignited/laravel-omnipay 1.0.1 -> satisfiable by ignited/laravel-omnipay[1.0.1].
        - Conclusion: don't install laravel/framework v4.1.2
        - Conclusion: don't install laravel/framework v4.1.1
        - ignited/laravel-omnipay 1.0.1 requires illuminate/support 4.0.x -> satisfiable by laravel/framework[v4.0.0, v4.0.1, v4.0.10, v4.0.2, v4.0.3, v4.0.4, v4.0.5, v4.0.6, v4.0.7, v4.0.8, v4.0.9], illuminate/support[v4.0.0, v4.0.1, v4.0.10, v4.0.2, v4.0.3, v4.0.4, v4.0.5, v4.0.6, v4.0.7, v4.0.8, v4.0.9].
        - don't install illuminate/support v4.0.0|don't install laravel/framework v4.1.0
        - don't install illuminate/support v4.0.1|don't install laravel/framework v4.1.0
        - don't install illuminate/support v4.0.10|don't install laravel/framework v4.1.0
        - don't install illuminate/support v4.0.2|don't install laravel/framework v4.1.0
        - don't install illuminate/support v4.0.3|don't install laravel/framework v4.1.0
        - don't install illuminate/support v4.0.4|don't install laravel/framework v4.1.0
        - don't install illuminate/support v4.0.5|don't install laravel/framework v4.1.0
        - don't install illuminate/support v4.0.6|don't install laravel/framework v4.1.0
        - don't install illuminate/support v4.0.7|don't install laravel/framework v4.1.0
        - don't install illuminate/support v4.0.8|don't install laravel/framework v4.1.0
        - don't install illuminate/support v4.0.9|don't install laravel/framework v4.1.0
        - Can only install one of: laravel/framework[v4.1.0, v4.0.0].
        - Can only install one of: laravel/framework[v4.1.0, v4.0.1].
        - Can only install one of: laravel/framework[v4.1.0, v4.0.10].
        - Can only install one of: laravel/framework[v4.1.0, v4.0.2].
        - Can only install one of: laravel/framework[v4.1.0, v4.0.3].
        - Can only install one of: laravel/framework[v4.1.0, v4.0.4].
        - Can only install one of: laravel/framework[v4.1.0, v4.0.5].
        - Can only install one of: laravel/framework[v4.1.0, v4.0.6].
        - Can only install one of: laravel/framework[v4.1.0, v4.0.7].
        - Can only install one of: laravel/framework[v4.1.0, v4.0.8].
        - Can only install one of: laravel/framework[v4.1.0, v4.0.9].
        - Installation request for laravel/framework 4.1.* -> satisfiable by laravel/framework[v4.1.0, v4.1.1, v4.1.10, v4.1.11, v4.1.12, v4.1.13, v4.1.14, v4.1.15, v4.1.16, v4.1.17, v4.1.18, v4.1.19, v4.1.2, v4.1.20, v4.1.21, v4.1.3, v4.1.4, v4.1.5, v4.1.6, v4.1.7, v4.1.8, v4.1.9].
    
    opened by asoorm 9
  • Error Installing via Composer

    Error Installing via Composer

    The install on this isn't working as of late, here is the error I am receiving after trying to install via composer. Any idea on what the cause could be? Thank you!

    Updating dependencies (including require-dev)

    • Installing omnipay/common (v2.3.0) Downloading: connection...Failed to download omnipay/common from dist: The " https://api.github.com/repos/omnipay/common/zipball/f7d50ce82f3528e7402500d87223 91ebb69070b8" file could not be downloaded (HTTP/1.1 404 Not Found) Now trying to download from source

    • Installing omnipay/common (v2.3.0) Cloning f7d50ce82f3528e7402500d8722391ebb69070b8

      [RuntimeException] Failed to clone [email protected]:omnipay/common.git, git was not found, check that it is installed and in your PATH env. 'git' is not recognized as an internal or external command, operable program or batch file.

    opened by PV-Patrick 7
  • Upgrade laravel

    Upgrade laravel

    Hello the omipay dosen't supprot laravel 6.0.* Omipay will be upgrade to support laravel 6.0?

    I have open a question on stackoverflow and some users have say the error is because omipay is not ready to laravel 6.0, i am sorry i don't understand alot of this i am just tring upgrade my system.

    Can ypu check the link. Thanks in advance

    https://stackoverflow.com/questions/57796599/laravel-6-0-composer-dependency-upgrade-error

    opened by PTNOP 6
  • Unable to upgrade to Laravel 5.3

    Unable to upgrade to Laravel 5.3

    Can "omnipay/common": "2.3.*" be updated from 2.3.* to 2.5.*?

    I'm unable to upgrade my application to 5.3 because of dependency version conflicts between the common library and Laravel for symfony/http-foundation. I believe updating this dependency will resolve the issue.

    opened by bkuhl 4
  • require error

    require error

    I require omnipay in my porject (laravel5.2),but it wrong

    ` Problem 1

    • Installation request for ignited/laravel-omnipay ^2.1 -> satisfiable by ignited/laravel-omnipay[2.1.0].
    • Conclusion: remove symfony/http-foundation v3.0.2
    • Conclusion: don't install symfony/http-foundation v3.0.2
    • ignited/laravel-omnipay 2.1.0 requires omnipay/common 2.3.* -> satisfiable by omnipay/common[2.3.2, v2.3.0, v2.3.1, v2.3.3, v2.3.4]. .............
      • Can only install one of: symfony/http-foundation[v2.6.9, v3.0.2].
      • Can only install one of: symfony/http-foundation[v2.7.0, v3.0.2].
      • Can only install one of: symfony/http-foundation[v2.7.1, v3.0.2].
      • Can only install one of: symfony/http-foundation[v2.7.2, v3.0.2].
      • Can only install one of: symfony/http-foundation[v2.7.3, v3.0.2].
      • Can only install one of: symfony/http-foundation[v2.7.4, v3.0.2].
      • Can only install one of: symfony/http-foundation[v2.7.5, v3.0.2].
      • Can only install one of: symfony/http-foundation[v2.7.6, v3.0.2].
      • Can only install one of: symfony/http-foundation[v2.7.7, v3.0.2].
      • Can only install one of: symfony/http-foundation[v2.7.8, v3.0.2].
      • Can only install one of: symfony/http-foundation[v2.7.9, v3.0.2].
      • Installation request for symfony/http-foundation == 3.0.2.0 -> satisfiable by symfony/http-foundation[v3.0.2]. `

    how can i do it?

    opened by klgd 4
  • Securely translate underscores into camel case

    Securely translate underscores into camel case

    Gateway Alipay adopts underscore naming convention, and requires options like seller_email and return_url. Using only ucfirst() in the reflection function is not adequate, as it translates seller_email to getSeller_email, rather than getSellerEmail. This PR securely translates underscores into camel case.

    opened by monomichael 4
  • Config file location

    Config file location

    The config file location should not live in a subdirectory under app/config. The subdirectories are reserved mostly for multiple environment settings. Please just set the config file to app/config/omnipay.php

    Please refer to: http://laravel.com/docs/configuration#environment-configuration

    opened by shrimpwagon 4
  • Syntax does not support

    Syntax does not support

    I wonder if you have any proper sample documentation. I am new ominpay and using your library doesn't help. Most of the syntax does not support like Omnipay::creditCard etc...

    opened by BhagiLimbu 2
  • Issue installation in Laravel 5.4

    Issue installation in Laravel 5.4

    Hi,

    when I installed the package in laravel 5.4 I had :

    [Symfony\Component\Debug\Exception\FatalThrowableError]              
    Call to undefined method Illuminate\Foundation\Application::share()  
    

    I think problem with share method, please check : https://laravel.com/docs/5.4/upgrade

    share Method Removed

    The share method has been removed from the container. This was a legacy method that has not been documented in several years. If you are using this method, you should begin using the singleton method instead:

    opened by kossa 2
Owner
Ignited Labs
Ignited Labs
UnionPay driver for the Omnipay PHP payment processing library

Omnipay: UnionPay UnionPay driver for the Omnipay PHP payment processing library Omnipay is a framework agnostic, multi-gateway payment processing lib

Loki Else 111 May 18, 2022
First Data driver for the Omnipay PHP payment processing library

Omnipay: First Data First Data driver for the Omnipay PHP payment processing library Omnipay is a framework agnostic, multi-gateway payment processing

The League of Extraordinary Packages 20 Oct 23, 2022
Laravel Blog Package. Easiest way to add a blog to your Laravel website. A package which adds wordpress functionality to your website and is compatible with laravel 8.

Laravel Blog Have you worked with Wordpress? Developers call this package wordpress-like laravel blog. Give our package a Star to support us ⭐ ?? Inst

Binshops 279 Dec 28, 2022
A Simple Linode SDK built for Laravel with @JustSteveKing laravel-transporter package

linode client A Simple Linode client built for Laravel with @JustSteveKing laravel-transporter package Installation You can install the package via co

Samuel Mwangi 2 Dec 14, 2022
A Laravel Wrapper for the Binance API. Now easily connect and consume the Binance Public & Private API in your Laravel apps without any hassle.

This package provides a Laravel Wrapper for the Binance API and allows you to easily communicate with it. Important Note This package is in early deve

Moinuddin S. Khaja 7 Dec 7, 2022
Laravel Podcast Manager is a complete podcast manager package for Laravel 5.3+ that enables you to manage RSS feeds for your favorite podcasts and listen to the episodes in a seamless UI.

laravelpodcast | A Laravel podcast manager package - v0.0.8 Introduction Laravel Podcast Manager is a complete podcast manager package for Laravel 5.3

Jeremy Kenedy 22 Nov 4, 2022
Laravel-htaccess - a package for dynamically edit .htaccess in laravel

laravel-htaccess a package for dynamically edit .htaccess in laravel use RedirectHtaccess Facade function for add RedirectHtaccess()->add(); return in

Mohammad khazaee 3 Dec 19, 2021
Laravel & Google Drive Storage - Demo project with Laravel 6.x and earlier

Laravel & Google Drive Storage Demo project with Laravel 8.X Look at the commit history to see each of the steps I have taken to set this up. Set up t

null 23 Oct 3, 2022
Empower your business to accept payments globally, earn rewards and invest in crypto with lazerpay laravel sdk in your laravel project.

Lazerpay Laravel Package pipedev/lazerpay is a laravel sdk package that access to laravel api Installation PHP 5.4+ and Composer are required. To get

Muritala David 24 Dec 10, 2022
Laravel package for Mailjet API V3 and Laravel Mailjet Mail Transport

Laravel Mailjet Laravel package for handling Mailjet API v3 using this wrapper: https://github.com/mailjet/mailjet-apiv3-php It also provides a mailje

Mailjet 76 Dec 13, 2022
Laravel 9 Template - Just a empty Laravel 9 project, ready to start new crap.

Laravel 9 Template Just a empty Laravel 9 project, ready to start new crap. Clone and start using. Usage - Local Env The same as usual with laravel. C

Gonzalo Martinez 1 Oct 31, 2022
Laravel Larex lets you translate your whole Laravel application with a single CSV file.

Laravel Larex Laravel Larex lets you translate your whole Laravel application with a single CSV file. You can import translation entries from lang fol

Luca Patera 68 Dec 12, 2022
Laravel Nova integration for justbetter/laravel-magento-customer-prices

Laravel Magento Customer Prices Nova Laravel Nova integration for justbetter/laravel-magento-customer-prices. Installation Install the package. compos

JustBetter 13 Nov 4, 2022
Laravel Nova integration for justbetter/laravel-magento-prices

Laravel Magento Prices Nova This package is the Laravel Nova integration for justbetter/laravel-magento-prices. Installation Install the package. comp

JustBetter 15 Nov 29, 2022
This package is the Laravel Nova integration for justbetter/laravel-magento-prices

Laravel Magento Products Nova This package is the Laravel Nova integration for justbetter/laravel-magento-products. Installation Install the package.

JustBetter 14 Nov 4, 2022
A helpful Laravel package to help me get started in Laravel projects quicker.

Launchpad A helpful Laravel package to help me get started in Laravel projects quicker. This is still a work in progress, so use at your own risk! CLI

Steve McDougall 13 Jun 15, 2023
A redacted PHP port of Underscore.js with additional functions and goodies – Available for Composer and Laravel

Underscore.php The PHP manipulation toolbelt First off : Underscore.php is not a PHP port of Underscore.js (well ok I mean it was at first). It's does

Emma Fabre 1.1k Dec 11, 2022
Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services.

Introduction Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services. It handles almost all of the boilerpl

The Laravel Framework 2.2k Dec 31, 2022
A laravel library or package for mpesa - Tanzania

THIS PACKAGE IS YET TO BE READY JUST A SKELETON This package is created to help developers intergrate with Vodacom Mpesa Tanzania open api. More infor

Emmanuel Paul Mnzava 5 Dec 11, 2022