PHPackages                             sahilr2050/omnipay-payway - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. sahilr2050/omnipay-payway

ActiveLibrary[Payment Processing](/categories/payments)

sahilr2050/omnipay-payway
=========================

PayWay REST API gateway for Omnipay payment processing library

1.1(2y ago)05MITPHPPHP ^7.2

Since Mar 19Pushed 2y ago1 watchersCompare

[ Source](https://github.com/sahilr2050/omnipay-payway)[ Packagist](https://packagist.org/packages/sahilr2050/omnipay-payway)[ Docs](https://github.com/sahilr2050/omnipay-payway)[ RSS](/packages/sahilr2050-omnipay-payway/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (1)Dependencies (5)Versions (3)Used By (0)

Omnipay: PayWay REST API
========================

[](#omnipay-payway-rest-api)

**WestPac PayWay REST API driver for the Omnipay PHP payment processing library**

[![Latest Stable Version](https://camo.githubusercontent.com/18035c6dff780179c74b34625df7df00f24c70378a696abdf75040189c4edc22/68747470733a2f2f706f7365722e707567782e6f72672f736168696c72323035302f6f6d6e697061792d7061797761792f762f737461626c65)](https://packagist.org/packages/sahilr2050/omnipay-payway)[![Total Downloads](https://camo.githubusercontent.com/dcc2cb748eafcfd225f5c647d571a06c8e08d095ba73a40e8ddfc8f73c9881df/68747470733a2f2f706f7365722e707567782e6f72672f736168696c72323035302f6f6d6e697061792d7061797761792f646f776e6c6f616473)](https://packagist.org/packages/sahilr2050/omnipay-payway)[![License](https://camo.githubusercontent.com/9184e1f39ecb9330c9f86aaa6635af277c41125f341d298d3494cb30969e5fae/68747470733a2f2f706f7365722e707567782e6f72672f736168696c72323035302f6f6d6e697061792d7061797761792f6c6963656e7365)](https://packagist.org/packages/sahilr2050/omnipay-payway)

[Omnipay](https://github.com/thephpleague/omnipay) is a framework agnostic, multi-gateway payment processing library for PHP 8.0+. This package implements PayWay REST API support for Omnipay.

This module aims to implement a usable subset of the [PayWay REST API](https://www.payway.com.au/rest-docs/index.html) (a product of Westpac Bank). The API is extensive, so the initial aim is to implement the following features:

- Create and maintain customers
- Create single-use tokens (Credit Card, Bank Account)
- Take payments using tokenised credit card details (aiding PCI compliance)
- Schedule regular payments

These initial features have now been implemented.

See the [official PayWay documentation](https://www.payway.com.au/rest-docs/index.html) for full details.

Installation
------------

[](#installation)

Install the module using composer.

```
composer require sahilr2050/omnipay-payway

```

Usage
-----

[](#usage)

### Take Payment

[](#take-payment)

To take a one-time credit card payment.

```
