Giter Club home page Giter Club logo

laravel-omnipay's People

Contributors

acasey avatar albofish avatar barryvdh avatar keenminded avatar laravel-shift avatar nexxai avatar pi0 avatar rspeekenbrink avatar siarheipashkevich avatar wuwx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

laravel-omnipay's Issues

laravel 6 support?

Hi Barry,

Do you have any plans to support laravel 6 with this package?

Laravel Spark

I want to use your package on my Laravel Spark SAAS project. is it possible???

Installation issue with Laravel 5.2

I tried to install laravel-omnipay via composer :composer require barryvdh/laravel-omnipayI get :

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Conclusion: remove symfony/event-dispatcher v3.2.4
    - Conclusion: don't install symfony/event-dispatcher v3.2.4
    - omnipay/common 2.4.0 requires guzzle/guzzle ~3.9 -> satisfiable by guzzle/guzzle[v3.9.0, v3.9.1, v3.9.2, v3.9.3].
    - omnipay/common 2.5.2 requires guzzle/guzzle ~3.9 -> satisfiable by guzzle/guzzle[v3.9.0, v3.9.1, v3.9.2, v3.9.3].
    - omnipay/common v2.3.4 requires guzzle/guzzle ~3.9 -> satisfiable by guzzle/guzzle[v3.9.0, v3.9.1, v3.9.2, v3.9.3].
    - omnipay/common v2.4.1 requires guzzle/guzzle ~3.9 -> satisfiable by guzzle/guzzle[v3.9.0, v3.9.1, v3.9.2, v3.9.3].
    - omnipay/common v2.5.0 requires guzzle/guzzle ~3.9 -> satisfiable by guzzle/guzzle[v3.9.0, v3.9.1, v3.9.2, v3.9.3].
    - omnipay/common v2.5.1 requires guzzle/guzzle ~3.9 -> satisfiable by guzzle/guzzle[v3.9.0, v3.9.1, v3.9.2, v3.9.3].

Paypal sand box

is this need to require the gateway package in composer beside your package or not
when i set testmode to false this is error response haven't redirect ....
when i set it to true the record back with success but the transaction didn't save in sand box transaction or the funds effect this is any reason hear is my code

use Omnipay;

public function getApiInfos() {
  return array(
    'cancelUrl' => URL::route('paypal_response'),
    'returnUrl' => URL::route('success_paypal_response'),
    'amount'    => '50.00',
    'currency'  => 'USD',
    'description' => '#description'
  );
}



public function upgrade_acount_processing()
{

// make paypal payment

$gateway = Omnipay::gateway('PayPal_Express');
    $gateway->setUsername('xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx');
    $gateway->setPassword('xxxxxxxxxxxxxxxxx');
    $gateway->setSignature('xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx');
    $gateway->setTestMode(true);

    $response = $gateway->purchase($this->getApiInfos())->send();
    return $response->redirect();
}

Gateway configuration should use the name instead of the classname

GatewayManager, line 50:

if(!isset($this->gateways[$class])){
            $gateway = $this->factory->create($class, null, $this->app['request']);
            $gateway->initialize($this->getConfig($class));
            $this->gateways[$class] = $gateway;
        }

The config gets checked for the classname instead of the gateways name. I think it should be:

if(!isset($this->gateways[$class])){
            $gateway = $this->factory->create($class, null, $this->app['request']);
            $gateway->initialize($this->getConfig($gateway->getName()));
            $this->gateways[$class] = $gateway;
        }

That way, I can pass a custom gateway without having to use the fully qualified name of the class on the config file...

Am I correct?

Thanks

does not support laravel 8

composer require barryvdh/laravel-omnipay
Using version ^0.2.2 for barryvdh/laravel-omnipay
./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
- Installation request for barryvdh/laravel-omnipay ^0.2.2 -> satisfiable by barryvdh/laravel-omnipay[v0.2.2].
- Can only install one of: guzzlehttp/guzzle[6.5.x-dev, 7.0.1].
- Can only install one of: guzzlehttp/guzzle[7.0.1, 6.5.x-dev].
- Can only install one of: guzzlehttp/guzzle[6.5.x-dev, 7.0.1].
- Conclusion: install guzzlehttp/guzzle 6.5.x-dev
- Installation request for guzzlehttp/guzzle (locked at 7.0.1, required as ^7.0.1) -> satisfiable by guzzlehttp/guzzle[7.0.1].

Installation failed, reverting ./composer.json to its original content.

I downgraded and it required to install Laravel 7.

Installation issue with Laravel 5.4

Hi,

I tried to install laravel-omnipay via composer : composer require barryvdh/laravel-omnipay I get :

  Problem 1
    - Installation request for barryvdh/laravel-omnipay ^0.1.2 -> satisfiable by barryvdh/laravel-omnipay[v0.1.2].
    - Conclusion: remove laravel/framework v5.4.9
    - Conclusion: don't install laravel/framework v5.4.9
    - barryvdh/laravel-omnipay v0.1.2 requires illuminate/support 5.0.* || 5.1.* || 5.2.* || 5.3.* -> satisfiable by illuminate/support[v5.0.0, v5.0.22, v5.0.25, v5.0.26, v5.0.28, v5.0.33, v5.0.4, v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.41, v5.1.6, v5.1.8, v5.2.0, v5.2.19, v5.2.21, v5.2.24, v5.2.25, v5.2.26, v5.2.27, v5.2.28, v5.2.31, v5.2.32, v5.2.37, v5.2.43, v5.2.45, v5.2.6, v5.2.7, v5.3.0, v5.3.16, v5.3.23, v5.3.4].
    - don't install illuminate/support v5.1.1|don't install laravel/framework v5.4.9
    - don't install illuminate/support v5.1.13|don't install laravel/framework v5.4.9
....

laravel 5.5 compatibiliy

Hey Barry,

I'd like to use your package with laravel 5.5 and hopefully 5.6 very quicky, but there doesn't seem to be a stable version for 5.5 yet.

Is it possible to tag the current dev version or are there some things not working correctly yet?

Gr,
Ezra

Difference between Ignited's laravel-omnipay and this one

I'm just curious, it seems that ignited's version existed (slightly) before yours, and doesn't seem that this is a branch of ignited/omnipay, but seems to have similar functionality.

Both are a couple years old, and are still being updated with the laravel versions.

So, I'm curious what the differences are / reason for creating a separate package. I've been working with laravel for a couple years now, and am a big fan of your work. I'd honestly rather depend on your package if there were reason to.

Laravel 9 support

Please make a new release for laravel 9 supporting. Someone already added support, but it's not tagged yet @barryvdh.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.