composer require addgod/laravel-omnipay
php artisan vendor:publish --provider "Addgod\Omnipay\ServiceProvider"
php artisan migrate
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.
Make documentation for database driver usage.