Registry / http-client / omnipay-dummy

omnipay-dummy

JSON →
library3.0.0phppackagistunverified

Dummy driver for the Omnipay payment processing library

composer require omnipay/dummy
INSTALL
IMPORT
SIG · OMNIPAY-DUMMY
O
omnipay-dummy
http-clientphpv3.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Gateway
use Omnipay\Dummy\Gateway;

Process a dummy payment

use Omnipay\Dummy\Gateway; $gateway = new Gateway(); $response = $gateway->purchase(['amount' => '10.00', 'currency' => 'USD'])->send(); if ($response->isSuccessful()) { echo 'Payment successful'; }
Debug
Known issues
gotchaThis is a dummy driver for testing only; not for production use
fix
Replace with a real payment gateway driver like Stripe or PayPal
affects: >=1.0.0
Upgrade
Version history
3.0.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
16
Amazon
1
Resources
omnipay-dummy — pip install omnipay-dummy · libregistry