PHPackages                             studiobonito/silverstripe-omnipayable - 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. studiobonito/silverstripe-omnipayable

Abandoned → [burnbright/silverstripe-omnipay](/?search=burnbright%2Fsilverstripe-omnipay)Silverstripe-module[Payment Processing](/categories/payments)

studiobonito/silverstripe-omnipayable
=====================================

The Omnipayable module adds support for the Omnipay library.

0.2.1(10y ago)482[2 PRs](https://github.com/studiobonito/silverstripe-omnipayable/pulls)BSD-2-ClausePHP

Since Mar 1Pushed 10y ago1 watchersCompare

[ Source](https://github.com/studiobonito/silverstripe-omnipayable)[ Packagist](https://packagist.org/packages/studiobonito/silverstripe-omnipayable)[ RSS](/packages/studiobonito-silverstripe-omnipayable/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (2)Versions (4)Used By (0)

WARNING: Module depreciated
===========================

[](#warning-module-depreciated)

This SilverStripe module is depreciated please consider using the [`silverstripe-omnipay`](https://github.com/burnbright/silverstripe-omnipay) module instead.

Omnipayable Module
==================

[](#omnipayable-module)

Overview
--------

[](#overview)

The Omnipayable module is designed to provide simple payment forms for [SilverStripe](http://silverstripe.org/)using [Omnipay](https://github.com/adrianmacneil/omnipay/).

The following forms are currently implemented:

- GoCardless
- PayPal Express Checkout
- PayPal Payments Pro
- Stripe

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

[](#requirements)

- SilverStripe 3.0 or newer.
- Omnipay 0.8 or newer.

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

[](#installation-instructions)

### Composer

[](#composer)

The Omnipayable module can be installed via [Composer](http://getcomposer.org/). To do so, simply add it to the `composer.json` file in the root of your SilverStripe installation:

```
{
    "require": {
        "studiobonito/silverstripe-omnipayable": "0.2.*"
    }
}
```

Then run composer to update your dependencies:

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

```

### Manual

[](#manual)

Copy the 'omnipayable' folder to the root of your SilverStripe installation.

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

[](#usage-overview)

There is a factory method provided to with form creation. This will create the correct form for the currently configured gateway:

```
$form = OmnipayableForm::create($this, 'PaymentForm');
```

Alternatively you can create the form directly:

```
$form = new OmnipayableForm_GoCardless($this, 'PaymentForm');
```

Once the form is created you can set the amount that will be charged:

```
$form->setAmount('10.00');
```

### Complete Example

[](#complete-example)

```
class Page_Controller extends ContentController
{
    public static $allowed_actions = array(
        'PaymentForm'
    );

    public function PaymentForm()
    {
        $form = OmnipayableForm::create($this, 'PaymentForm');

        $form->setAmount('10.00');

        return $form;
    }
}
```

When adding the form to a `Controller` remember to add the forms name to the `$allowed_actions` array.

### Payment Form Fields

[](#payment-form-fields)

The base form provides form fields for all of the currently supported properties of the Omnipay `CreditCard` object. Each gateway specific form is intended to show only the relevant subset of fields that apply to that gateway.

The following is a list of all the base form fields and their type:

#### Personal Details `FieldGroup`

[](#personal-details-fieldgroup)

- FirstName `TextField`
- LastName `TextField`
- Company `TextField`
- Email `EmailField`

#### Card Details `FieldGroup`

[](#card-details-fieldgroup)

- Number `CreditCardField`
- Cvv `TextField`
- ExpiryMonth `DropdownField`
- ExpiryYear `DropdownField`
- StartMonth `DropdownField`
- StartYear `DropdownField`
- IssueNumber `TextField`
- Type `DropdownField`

#### Billing Address `FieldGroup`

[](#billing-address-fieldgroup)

- BillingAddress1 `TextField`
- BillingAddress2 `TextField`
- BillingCity `TextField`
- BillingPostcode `TextField`
- BillingState `TextField`
- BillingCountry `DropdownField`
- BillingPhone `PhoneField`

#### Shipping Address `FieldGroup`

[](#shipping-address-fieldgroup)

- ShippingAddress1 `TextField`
- ShippingAddress2 `TextField`
- ShippingCity `TextField`
- ShippingPostcode `TextField`
- ShippingState `TextField`
- ShippingCountry `DropdownField`
- ShippingPhone `PhoneField`

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

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.

###  Release Activity

Cadence

Every ~455 days

Total

3

Last Release

3911d ago

### Community

Maintainers

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

---

Tags

silverstripepaymentpaypalomnipaygocardless

### Embed Badge

![Health badge](/badges/studiobonito-silverstripe-omnipayable/health.svg)

```
[![Health](https://phpackages.com/badges/studiobonito-silverstripe-omnipayable/health.svg)](https://phpackages.com/packages/studiobonito-silverstripe-omnipayable)
```

###  Alternatives

[payum/payum-bundle

One million downloads of Payum already! Payum offers everything you need to work with payments. Check more visiting site.

59510.3M40](/packages/payum-payum-bundle)[omnipay/paypal

PayPal gateway for Omnipay payment processing library

3156.8M53](/packages/omnipay-paypal)[silverstripe/silverstripe-omnipay

SilverStripe Omnipay Payment Module

38106.0k15](/packages/silverstripe-silverstripe-omnipay)[omnipay/gocardless

GoCardless driver for the Omnipay payment processing library

15556.6k3](/packages/omnipay-gocardless)[payum/payum-yii-extension

Rich payment solutions for Yii framework. Paypal, payex, authorize.net, be2bill, omnipay, recurring paymens, instant notifications and many more

1211.8k](/packages/payum-payum-yii-extension)

PHPackages © 2026

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