Code Monkey home page Code Monkey logo

paypal-ipn-laravel's People

Contributors

croemmich avatar ragingdave 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

paypal-ipn-laravel's Issues

Laravel 5

Hi, great you created this package. Would very much like to use it. Any plans on making it available to Laravel 5? Thanks!

error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number

Today when I run IPN::getOrder() I get a CurlRequestException with the following message:

cURL error: [35] error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number' in vendor/mike182uk/paypal-ipn-listener/src/PayPal/Ipn/Request/Curl.php:93

According to this question, Paypal has updated their SSL version due to the POODLE attack.

By default, the curlVerifier uses SSL v3, but it can be overrided with the forceSSLv3() method.

In the IPN::getOrder() method, when the $request handler is created we should do something like:

$request->forceSSLv3(FALSE);

It worked on my case. I can't make a pull request for the moment, but if you want you can do it.

Cheers!

Routing for IPN problem

I was trying to implement this package with larave 4.2 but I was getting "no handshake" from IPN sandbox.. Turns out the app is using the wrong SSL version,, should be set to 4

PayPal as responded with INVALID

I have already applied $ request-> forceSSLv3 (FALSE); but now I will throw this error, please help, urgent
LogicalGrape \ PayPalIpnLaravel \ Exception \ InvalidIpnException
PayPal as responded with INVALID

Open: /home/extrasistemas/hydro.extrasistemas.com/vendor/logicalgrape/paypal-ipn-laravel/src/LogicalGrape/PayPalIpnLaravel/PayPalIpn.php

    $listener = new PayPalListener($request);
    $listener->setMode($this->getEnvironment());

    if ($listener->verifyIpn()) {
        return $this->store($request->getData());
    } else {
       throw new InvalidIpnException("PayPal as responded with INVALID");
    }
}

Mispelling

Title of the repo's docs is mispelled, currently is "PayPal IPN for Lavarel 4", should obviously be "Laravel" :)
mispelled-laravel

Won't Install

Every time i try to install this using composer i get this.
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.9
- 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 logicalgrape/paypal-ipn-laravel dev-master -> satisfiable by logicalgrape/paypal-ipn-laravel[d
ev-master].
- Conclusion: don't install laravel/framework v4.1.2
- Conclusion: don't install laravel/framework v4.1.1
- logicalgrape/paypal-ipn-laravel dev-master requires illuminate/support 4.0.* -> 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.1
0, v4.0.2, v4.0.3, v4.0.4, v4.0.5, v4.0.6, v4.0.7, v4.0.8, v4.0.9].
- 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].
- 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
- Installation request for laravel/framework 4.1.* -> satisfiable by laravel/framework[v4.1.0, v4.1.1, v4.1.2, v4.1.3, v4
.1.4, v4.1.5, v4.1.6, v4.1.7, v4.1.8, v4.1.9].

IPN Simulator Returns 500 error

After following all provided instructions, the IPN Simulator returns a 500 error.

I believe I have done everything as detailed and have not made any amendments.

Does anyone have any suggestion please as to why this might be that case? I appreciate this is vague, but it is all the IPN Simulator tells me.

Update: If I remove the line $order = IPN::getOrder(); which obviously stops the function from doing anything IPN Simulator now reports "Message Sent" and no error.

Documentation

I see this a new project and it looks promising, would it be possible to add some usage documentation?

Importing the service provider is obviously straightforward but what about setting up the route for the ipn listener and getting notified of a received ipn?

how to reditect on PayPal site for make payment?

means how to set payment information, payer_id, success, cancel and notify url , etc parameter? Please provide us the full code example. No any plugin available for go paypal site and then make payment.

Setting the listener path in laravel

Hi

How to set the listener path for the package.how the paypal will know which path it has to send response.

For example in my application

Controller is paymentcontroller-getipnresponse()

i have to get the response inside the getipnresponse() function.

Thanks in advance....
Vasanthan

Publish migrations instead of just running them

This is just a small annoyance with the readme instructions. If you don't publish the migrations, they won't be included in your application's migrations once you deploy to another server.

php artisan migrate:publish logicalgrape/paypal-ipn-laravel
php artisan migrate

Not working with Laravel 4.1.x

I believe the following requirement is causing issues in Laravel 4.1.x:

"illuminate/support": "4.0.*"

Should it be changed to ~4.0

I have not tested it though with the latest version of laravel.

PayPal as responded with INVALID

I have already applied $ request-> forceSSLv3 (FALSE); but now I will throw this error, please help, urgent
LogicalGrape \ PayPalIpnLaravel \ Exception \ InvalidIpnException
PayPal as responded with INVALID

Open: /home/extrasistemas/hydro.extrasistemas.com/vendor/logicalgrape/paypal-ipn-laravel/src/LogicalGrape/PayPalIpnLaravel/PayPalIpn.php

    $listener = new PayPalListener($request);
    $listener->setMode($this->getEnvironment());

    if ($listener->verifyIpn()) {
        return $this->store($request->getData());
    } else {
       throw new InvalidIpnException("PayPal as responded with INVALID");
    }
}

Laravel 4.2 support

Hi !
As far as I can see, this plugin is not supported by Laravel 4.2 yet..

Am I right?

database empty

Hi,

Open the newly created controller and add the following to the store action
$order = IPN::getOrder();

should I get something in the database while adding this and only this in the IpnController. with database remains empty, both with IPN tester from paypal and sandbox test.

Am I missing something ?

Typo

Probably a typo

Incorrect:
php artisan controller:make IpnController --only=post

Correct:
php artisan controller:make IpnController --only=store

migration:rollback & migration:refresh error

Encounter PHP fatal error when I tried to perform a refresh/rollback after installing this package

PHP Fatal error: Call to undefined method Illuminate\Database\Schema\MySqlBuilder::dropTable()

I did some digging and found that dropTable is used for function down() in both CreateIpnOrderItemOptions & CreateIpnOrderItems class.

Change dropTable to drop seems to have the problem fixed.

thanks
TK Chuah

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.