Download the PHP package seymourlabs/omnipay-invoice without Composer
On this page you can find all versions of the php package seymourlabs/omnipay-invoice. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download seymourlabs/omnipay-invoice
More information about seymourlabs/omnipay-invoice
Files in seymourlabs/omnipay-invoice
Download seymourlabs/omnipay-invoice
More information about seymourlabs/omnipay-invoice
Files in seymourlabs/omnipay-invoice
Vendor seymourlabs
Package omnipay-invoice
Short Description Invoice driver for the Omnipay payment processing library
License MIT
Homepage https://github.com/seymourlabs/omnipay-invoice
Package omnipay-invoice
Short Description Invoice driver for the Omnipay payment processing library
License MIT
Homepage https://github.com/seymourlabs/omnipay-invoice
Please rate this library. Is it a good library?
Informations about the package omnipay-invoice
Omnipay: Invoice
Generate invoice numbers via the transaction call as a driver for the Omnipay PHP payment processing library
Omnipay is a framework agnostic, multi-gateway payment processing library for PHP 5.3+. This package implements Sage Pay support for Omnipay.
Installation
Omnipay is installed via Composer. To install, simply add it
to your composer.json
file:
And run composer to update your dependencies:
$ curl -s http://getcomposer.org/installer | php
$ php composer.phar update
Basic Usage
// Create a gateway for the Invoice Gateway
// (routes to GatewayFactory::create)
$gateway = \Omnipay\Omnipay::create('Invoice');
// Initialise the gateway
$gateway->initialize([
'testMode' => true, // Test mode prepends "TEST:" into the invoice number
]);
// Do an authorize transaction on the gateway
$transaction = $gateway->authorize([
'amount' => '10.00',
'currency' => 'GBP',
]);
// optional prefix assignment
$transaction->setPrefix('ABC');
$response = $transaction->send();
if ($response->isSuccessful()) {
echo "Authorize transaction was successful!\n";
$sale_id = $response->getTransactionReference();
echo "Transaction reference = " . $sale_id . "\n";
}
All versions of omnipay-invoice with dependencies
PHP Build Version
Package Version
Requires
omnipay/common Version
~2.0
The package seymourlabs/omnipay-invoice contains the following files
Loading the files please wait ....