descom / omnipay-offline-dummy
Omnipay Offline Dummy Gateway for testing
Installs: 5 099
Dependents: 1
Suggesters: 1
Security: 0
Stars: 0
Watchers: 0
Forks: 2
Open Issues: 0
Requires
- php: ^8.3
- guzzlehttp/guzzle: ^7.8
- illuminate/contracts: ^11.0|^12.0
- league/omnipay: ^3.2
- omnipay/common: ^3.2
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.75
- guzzlehttp/psr7: ^1|^2
- larastan/larastan: ^3.0
- omnipay/tests: ^4.1
- orchestra/testbench: ^9.0|^10.0
- phpstan/phpstan: ^2.1
- phpunit/phpunit: ^10.5|^11.5
This package is auto-updated.
Last update: 2025-04-09 13:46:58 UTC
README
Omnipay Offline Dummy Gateway for testing
Instalation
composer require descom/omnipay-offline-dummy
Basic Usage
Create purchase request
use Omnipay\Omnipay; $gateway = Omnipay::create('OfflineDummy'); $request = $gateway->purchase([ 'amount' => '12.00', 'description' => 'Test purchase', 'transactionId' => 1, 'url_notify' => 'http://example.com/payment/notify', 'url_return' => 'http://example.com/payment/return', ])->send(); $response->redirect();