PHPackages                             hashbang/securepay - 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. hashbang/securepay

ActiveLibrary[Payment Processing](/categories/payments)

hashbang/securepay
==================

PHP SecurePay API

v1.0.6(5y ago)222.6k↓100%21[3 issues](https://github.com/hash-bang/PHP-SecurePay/issues)MITPHPPHP &gt;=5.0.0

Since Mar 25Pushed 4y ago6 watchersCompare

[ Source](https://github.com/hash-bang/PHP-SecurePay)[ Packagist](https://packagist.org/packages/hashbang/securepay)[ Docs](https://github.com/hash-bang/PHP-SecurePay)[ RSS](/packages/hashbang-securepay/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)DependenciesVersions (6)Used By (0)

**NOTE: This module is depreciated since SecurePay has moved from their SOAP XML API to REST****Please see the [SecurePay API](https://auspost.com.au/payments/docs/securepay/?javascript#securepay-api-card-payments-rest-api) to communicate with SecurePay**

**The below documentation is provided for backwards compatibility for existing SOAP XML requests which use the old username / password system**

---

Very simple [SecurePay.com.au](http://www.securepay.com.au) API for PHP.

The secure pay service is a reasonably reliable and well documented credit card gateway.

You will require an existing username and password (or a test account) to use this module.

Installation
============

[](#installation)

Download this GIT repository and copy into your application directory.

Alternatively, install with [Composer](http://getcomposer.org).

Examples
========

[](#examples)

Full Example
------------

[](#full-example)

```

```

Global
------

[](#global)

The following examples all the basic PHP setup to kick things off. Obviously we need to load the library first:

```
