PHPackages                             internetrix/silverstripe-payment-eway - 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. internetrix/silverstripe-payment-eway

ActiveSilverstripe-module[Payment Processing](/categories/payments)

internetrix/silverstripe-payment-eway
=====================================

A forked silverstripe payment module for eway

01411[3 PRs](https://github.com/Internetrix/silverstripe-payment-eway/pulls)PHP

Since Dec 17Pushed 10y ago4 watchersCompare

[ Source](https://github.com/Internetrix/silverstripe-payment-eway)[ Packagist](https://packagist.org/packages/internetrix/silverstripe-payment-eway)[ RSS](/packages/internetrix-silverstripe-payment-eway/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

SilverStripe Payment Eway Module
================================

[](#silverstripe-payment-eway-module)

**Work in progress, some changes to the API still to come**

Maintainer Contacts
-------------------

[](#maintainer-contacts)

- [Frank Mullenger](https://github.com/frankmullenger)

Requirements
------------

[](#requirements)

- SilverStripe 3.0.x
- Payment module 1.0.x

Documentation
-------------

[](#documentation)

Paystation integration for payment module. This module currently supports [Rapid 3.0 processing](http://www.eway.co.nz/developers/api/rapid-3-0) only. The Rapid 3.0 API works by using a form hosted on the merchants website to capture the credit card details, this form is posted directly to eWay.

### Developer documentation

[](#developer-documentation)

How to [get started with the Rapid 3.0 API](https://eway.zendesk.com/entries/22370486-how-to-generate-your-sandbox-rapid-3-0-api-key-and-password).
[Rapid 3.0 API documentation](http://www.eway.co.nz/docs/api-documentation/rapid3-0documentation.pdf).
[Gateway response codes](http://www.eway.com.au/developers/resources/response-codes).
[How to trigger response codes from the gateway using cents values](https://eway.zendesk.com/entries/23054328-I-m-testing-in-sandbox-why-are-my-payments-declined-).

Installation Instructions
-------------------------

[](#installation-instructions)

1. Place this directory in the root of your SilverStripe installation and call it 'payment-eway'.
2. Visit yoursite.com/dev/build?flush=1 to rebuild the database.

**Note:** Because the credit card details are entered by the customer on a page residing on your website (and not a page on the gateway) ensure you have an SSL/TLS cert installed for security.

Usage Overview
--------------

[](#usage-overview)

Enable in your application YAML config (e.g: mysite/\_config/payment.yaml):

```
PaymentGateway:
  environment:
    'dev'

PaymentProcessor:
  supported_methods:
    dev:
      - 'EwayRapid'
    live:
      - 'EwayRapid'
```

Configure using your Eway account details in the same file:

```
RapidGateway:
  live:
    # User credentials
    Payment.Username: ""
    Payment.Password: ""

    #Method Options: SOAP,POST,REST,RPC
    "Request:Method": 'SOAP'

    #Format Options: JSON, XML
    "Request:Format": 'JSON'
  dev:
    # User credentials
    Payment.Username: ""
    Payment.Password: ""

    #Method Options: SOAP,POST,REST,RPC
    "Request:Method": 'SOAP'

    #Format Options: JSON, XML
    "Request:Format": 'JSON'

    # Set to 1 to see the response objects for CreateAccessCode & GetAccessCodeResult
    # Also, it is able to see the raw response/request messages in either JSON or XML format being sent to the RapidAPI End Point.
    ShowDebugInfo: 0
```

By default the gateway class can accept NZD or AUD (see RapidGateway::$supportedCurrencies). Usually your Eway account will be for a single currency that matches your merchant account. To specify this currency as the single acceptable currency alter the YAML config file e.g: a configuration that will only process payments in Australian dollars:

```
RapidGateway:
  live:
    # User credentials
    Payment.Username: ""
    Payment.Password: ""

    #Method Options: SOAP,POST,REST,RPC
    "Request:Method": 'SOAP'

    #Format Options: JSON, XML
    "Request:Format": 'JSON'

    # Set supported currency
    supported_currencies:
      'AUD' : 'Australian Dollar'
  dev:
    # User credentials
    Payment.Username: ""
    Payment.Password: ""

    #Method Options: SOAP,POST,REST,RPC
    "Request:Method": 'SOAP'

    #Format Options: JSON, XML
    "Request:Format": 'JSON'

    # Set supported currency
    supported_currencies:
      'AUD' : 'Australian Dollar'
```

**Note:** Remember to ?flush=1 after changes to the config YAML files.

TODO
----

[](#todo)

- Translation support
- Unit tests
- Capture customer and order information and pass to the gateway
- Test error responses in RapidGateway::process()

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/f2028df988ee004ba1951c38852161aef16c343d4831e37fa16edb7e77729c86?d=identicon)[Internetrix](/maintainers/Internetrix)

---

Top Contributors

[![frankmullenger](https://avatars.githubusercontent.com/u/50590?v=4)](https://github.com/frankmullenger "frankmullenger (6 commits)")

### Embed Badge

![Health badge](/badges/internetrix-silverstripe-payment-eway/health.svg)

```
[![Health](https://phpackages.com/badges/internetrix-silverstripe-payment-eway/health.svg)](https://phpackages.com/packages/internetrix-silverstripe-payment-eway)
```

###  Alternatives

[msilabs/bkash

bKash Payment Gateway API for Laravel Framework.

181.2k](/packages/msilabs-bkash)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
