<commit_before># omnipay-verifone-web-service
**THIS IS CURRENTLY WORK IN PROGRESS**

**Verifone Web Service driver for the Omnipay PHP payment processing library**

Omnipay implementation of the Verifone (Commidea) Web Service payment gateway.

[![Build Status](https://travis-ci.org/digitickets/omnipay-verifone-web-service.png?branch=master)](https://travis-ci.org/digitickets/omnipay-verifone-web-service)
[![Latest Stable Version](https://poser.pugx.org/digitickets/omnipay-verifone-web-service/version.png)](https://packagist.org/packages/omnipay/verifone)
[![Total Downloads](https://poser.pugx.org/digitickets/omnipay-verifone-web-service/d/total.png)](https://packagist.org/packages/digitickets/omnipay-verifone-web-service)

This driver supports the remote Verifone Payment Gateway (Web Service). Payment information is sent and received via XML messages.

## Installation

**Important: Driver requires [PHP's Intl extension](http://php.net/manual/en/book.intl.php) to be installed.**

The Verifone Omnipay driver is installed via [Composer](http://getcomposer.org/). To install, simply add it
to your `composer.json` file:

```json
{
    "require": {
        "digitickets/omnipay-verifone-web-service": "~1.0"
    }
}
```

And run composer to update your dependencies:

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

## What's Included

This driver currently only supports Session-Based transactions.

If you register a token, by default repeat payments will be available on any payments, although actually making repeat payments is not yet implemented.

## What's Not Included

This driver currently does not support Non-Session-Based transactions.

It does not currently support PAYERAUTH.

It does not currently support refunds.

## Basic Usage

This driver supports the following process:

Generate Session Request -> Generate Session Response\
-> \<card form submission to Verifone>\
-> Get Card Details Request -> Get Card Details Response\
-> Token Registration Request -> Token Registration Response [optional step]\
-> Purchase Request -> Purchase Response\
Then one of:\
-> Confirm Request -> Confirm Response\
or\
-> Reject Request -> Reject Response

For general Omnipay usage instructions, please see the main [Omnipay](https://github.com/omnipay/omnipay)
repository.

## Support

If you are having general issues with Omnipay, we suggest posting on
[Stack Overflow](http://stackoverflow.com/). Be sure to add the
[omnipay tag](http://stackoverflow.com/questions/tagged/omnipay) so it can be easily found.

If you believe you have found a bug in this driver, please report it using the [GitHub issue tracker](https://github.com/digitickets/omnipay-verifone-web-service/issues),
or better yet, fork the library and submit a pull request.<commit_msg>Update the readme.<commit_after># omnipay-verifone-web-service

**Verifone Web Service driver for the Omnipay PHP payment processing library**

Omnipay implementation of the Verifone (Commidea) Web Service payment gateway.

[![Build Status](https://travis-ci.org/digitickets/omnipay-verifone-web-service.png?branch=master)](https://travis-ci.org/digitickets/omnipay-verifone-web-service)
[![Latest Stable Version](https://poser.pugx.org/digitickets/omnipay-verifone-web-service/version.png)](https://packagist.org/packages/omnipay/verifone)
[![Total Downloads](https://poser.pugx.org/digitickets/omnipay-verifone-web-service/d/total.png)](https://packagist.org/packages/digitickets/omnipay-verifone-web-service)

This driver supports the remote Verifone Payment Gateway (Web Service). Payment information is sent and received via XML messages.

## Installation

**Important: Driver requires [PHP's Intl extension](http://php.net/manual/en/book.intl.php) to be installed.**

The Verifone Omnipay driver is installed via [Composer](http://getcomposer.org/). To install, simply add it
to your `composer.json` file:

```json
{
    "require": {
        "digitickets/omnipay-verifone-web-service": "~1.0"
    }
}
```

And run composer to update your dependencies:

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

## What's Included

This driver currently only supports Session-Based transactions, except for refunds, which are non-session-based and have been implemented.

If you register a token, by default repeat payments will be available on any payments, although actually making repeat payments is not yet implemented.

## What's Not Included

This driver currently does not support Non-Session-Based transactions (except refunds, as above).

It does not currently support PAYERAUTH.

## Basic Usage

This driver supports the following process to handle a transaction:

Generate Session Request -> Generate Session Response\
-> \<card form submission to Verifone>\
-> Get Card Details Request -> Get Card Details Response\
-> Token Registration Request -> Token Registration Response [optional step]\
-> Purchase Request -> Purchase Response\
Then one of:\
-> Confirm Request -> Confirm Response\
or\
-> Reject Request -> Reject Response

It also supports making a refund:
Transaction (Refund) Request (non-session-based) -> Refund Response
Then one of:\
-> Confirm Request -> Confirm Response\
or\
-> Reject Request -> Reject Response

For general Omnipay usage instructions, please see the main [Omnipay](https://github.com/omnipay/omnipay)
repository.

## Support

If you are having general issues with Omnipay, we suggest posting on
[Stack Overflow](http://stackoverflow.com/). Be sure to add the
[omnipay tag](http://stackoverflow.com/questions/tagged/omnipay) so it can be easily found.

If you believe you have found a bug in this driver, please report it using the [GitHub issue tracker](https://github.com/digitickets/omnipay-verifone-web-service/issues),
or better yet, fork the library and submit a pull request.
{'fraction_non_alphanumeric': 0.10562180579216354, 'fraction_numerical': 0.0006814310051107325, 'mean_word_length': 4.65606936416185, 'pattern_counts': {'":': 4, '<': 5, '<?xml version=': 0, '>': 34, 'https://': 16, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1235210', 'n_tokens_mistral': 1759, 'n_tokens_neox': 1669, 'n_words': 583}