addgod / laravel-omnipay
A larvel integration for Omnipay
Installs: 1 990
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 2
Open Issues: 0
Requires
- laravel/framework: ~5|~6|~7|~8|~9
- league/omnipay: ~3
- dev-master
- 6.20
- 6.13
- 6.12
- 6.11
- 6.10
- 6.9
- 6.8
- 6.7
- 6.6
- 6.5
- 6.4
- 6.3
- 6.2
- 6.1
- 6.0
- 5.1.8
- 5.1.7
- 5.1.6
- 5.1.5
- 5.1.4
- 5.1.3
- 5.1.2
- 5.1.1
- 5.1.0
- 5.0.3
- 5.0.2
- 5.0.1
- 5.0.0
- v4.0.4
- v4.0.3
- v4.0.2
- v4.0.1
- v4.0.0
- 3.2.1
- v3.2.0
- 3.1.4
- 3.1.3
- 3.1.2
- v3.1.1
- v3.1.0
- v3.0.1
- v3.0.0
- v2.1.2
- v2.1.1
- v2.1
- v2.0
- v1.3
- v1.2
- v1.1
- v1.0.x-dev
- V1.0
- dev-develop
This package is auto-updated.
Last update: 2024-11-04 09:20:21 UTC
README
Installation
composer require addgod/laravel-omnipay
Publish config
php artisan vendor:publish --provider "Addgod\Omnipay\ServiceProvider"
Run migration
php artisan migrate
Usage
use Addgod\Omnipay\Models\Transaction
$transaction = Transaction::make([
'amount' => 10000
'route_to' => route('receipt.url');
]);
$transaction->purchase(); // Use for direct capture
$transaction->authorize(); // Use for reserving the amount on a card.
TODO
Make documentation for database driver usage.