| Package Data | |
|---|---|
| Maintainer Username: | croemmich |
| Maintainer Contact: | chris@logicalgrape.com (Chris Roemmich) |
| Package Create Date: | 2013-11-13 |
| Package Last Update: | 2014-04-01 |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-10-31 03:01:46 |
| Package Statistics | |
|---|---|
| Total Downloads: | 15,940 |
| Monthly Downloads: | 7 |
| Daily Downloads: | 0 |
| Total Stars: | 34 |
| Total Watchers: | 7 |
| Total Forks: | 25 |
| Total Open Issues: | 17 |
This package allows for the painless creation of a PayPal IPN listener in the Laravel 4 framework.
PayPal IPN for Laravel can be found on Packagist. The recommended way is through composer.
Edit composer.json and add:
{
"require": {
"logicalgrape/paypal-ipn-laravel": "dev-master"
}
}
And install dependencies:
$ curl -sS https://getcomposer.org/installer | php
$ php composer.phar install
Find the providers key in app/config/app.php and register the PayPal IPN Service Provider.
'providers' => array(
// ...
'LogicalGrape\PayPalIpnLaravel\PayPalIpnServiceProvider',
)
Find the aliases key in app/config/app.php and register the PayPal IPN Facade.
'aliases' => array(
// ...
'IPN' => 'LogicalGrape\PayPalIpnLaravel\Facades\IPN',
)
Run the migrations to create the tables to hold IPN data
$ php artisan migrate --package logicalgrape/paypal-ipn-laravel
Publish and edit the configuration file
$ php artisan config:publish logicalgrape/paypal-ipn-laravel
Create the controller PayPal will POST to
$ php artisan controller:make IpnController --only=store
Open the newly created controller and add the following to the store action
$order = IPN::getOrder();
Edit app/routes.php and add:
Route::post('ipn', array('uses' => 'IpnController@store', 'as' => 'ipn'));
To help with IPN testing, PayPal provides the PayPal IPN Simulator.
Please open an issue on GitHub
GeocoderLaravel is released under the MIT License. See the bundled LICENSE file for details.