2017 © Pedro Peláez
 

library paypal-ipn-laravel

A PayPal IPN client for Laravel.

image

logicalgrape/paypal-ipn-laravel

A PayPal IPN client for Laravel.

  • Tuesday, April 1, 2014
  • by croemmich
  • Repository
  • 7 Watchers
  • 32 Stars
  • 13,844 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 27 Forks
  • 18 Open issues
  • 3 Versions
  • 1 % Grown

The README.md

PayPal IPN for Laravel 4

This package allows for the painless creation of a PayPal IPN listener in the Laravel 4 framework., (*1)

Installation

PayPal IPN for Laravel can be found on Packagist. The recommended way is through composer., (*2)

Edit composer.json and add:, (*3)

{
    "require": {
        "logicalgrape/paypal-ipn-laravel": "dev-master"
    }
}

And install dependencies:, (*4)

$ curl -sS https://getcomposer.org/installer | php
$ php composer.phar install

Usage

Find the providers key in app/config/app.php and register the PayPal IPN Service Provider., (*5)

'providers' => array(
    // ...

    'LogicalGrape\PayPalIpnLaravel\PayPalIpnServiceProvider',
)

Find the aliases key in app/config/app.php and register the PayPal IPN Facade., (*6)

'aliases' => array(
    // ...

    'IPN' => 'LogicalGrape\PayPalIpnLaravel\Facades\IPN',
)

Migrations

Run the migrations to create the tables to hold IPN data, (*7)

$ php artisan migrate --package logicalgrape/paypal-ipn-laravel

Configuration

Publish and edit the configuration file, (*8)

$ php artisan config:publish logicalgrape/paypal-ipn-laravel

Example

Create the controller PayPal will POST to, (*9)

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

Open the newly created controller and add the following to the store action, (*10)

$order = IPN::getOrder();

Edit app/routes.php and add:, (*11)

Route::post('ipn', array('uses' => 'IpnController@store', 'as' => 'ipn'));

Resources

To help with IPN testing, PayPal provides the PayPal IPN Simulator., (*12)

Support

Please open an issue on GitHub, (*13)

License

GeocoderLaravel is released under the MIT License. See the bundled LICENSE file for details., (*14)

The Versions

01/04 2014

dev-master

9999999-dev

A PayPal IPN client for Laravel.

  Sources   Download

MIT

The Requires

 

by Chris Roemmich

laravel paypal ipn

10/01 2014

1.0.1

1.0.1.0

A PayPal IPN client for Laravel.

  Sources   Download

MIT

The Requires

 

by Chris Roemmich

laravel paypal ipn

13/11 2013

1.0.0

1.0.0.0

A PayPal IPN client for Laravel.

  Sources   Download

MIT

The Requires

 

by Chris Roemmich

laravel paypal ipn