0x4a5k/omnipay-wirecard

Wirecard gateway for Omnipay payment processing library

v1.1 2016-01-16 16:22 UTC

README

Wirecard 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 Wirecard support for Omnipay.

Build Status Scrutinizer Code Quality Code Coverage

Installation

Omnipay is installed via Composer. To install, simply add it to your composer.json file:

{
    "require": {
        "igaponov/omnipay-wirecard": "dev-master"
    }
}

And run composer to update your dependencies:

$ curl -s http://getcomposer.org/installer | php
$ php composer.phar update

Configure your serializer (for example, JMS serializer):

use JMS\Serializer\SerializerBuilder;

$serializer = SerializerBuilder::create()
    ->addMetadataDir('path/to/src/Serializer/Metadata', 'Wirecard\Element')
    ->build();
$gateway = $factory->create('Wirecard');
$gateway->setSerializer($serializer);

Basic Usage

For general usage instructions, please see the main Omnipay repository.

Support

If you are having general issues with Omnipay, we suggest posting on Stack Overflow. Be sure to add the omnipay tag so it can be easily found.

If you want to keep up to date with release anouncements, discuss ideas for the project, or ask more detailed questions, there is also a mailing list which you can subscribe to.

If you believe you have found a bug, please report it using the GitHub issue tracker, or better yet, fork the library and submit a pull request.