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

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

silverstripe/payment
====================

SilverStripe payment provider integration. Currently supported: DPS, Eway, Paypal, Paystation, Worldpay

0.4.2(13y ago)2411.6k43[14 issues](https://github.com/silverstripe-archive/silverstripe-payment/issues)[3 PRs](https://github.com/silverstripe-archive/silverstripe-payment/pulls)7PHP

Since Feb 20Pushed 10y ago22 watchersCompare

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

READMEChangelogDependencies (2)Versions (6)Used By (7)

Payment Module
==============

[](#payment-module)

*Important:* The module is being restructured for SilverStripe 3 support, see "Roadmap" below

Overview
--------

[](#overview)

Generic API for various payment gateways. Records payments and their status in the database.

Supported Gateways and Payment Methods
--------------------------------------

[](#supported-gateways-and-payment-methods)

- [Payment Express](http://paymentexpress.com) (Merchant hosted) - Supports Auth, Complete, Purchase, Refund, Validate
- [Payment Express](http://paymentexpress.com) (DPS hosted) - Supports Auth, Purchase
- [Eway](http://www.eway.com.au/)
- [PayPal](http://www.paypal.com)
- [PayStation](http://www.paystation.com)
- [Worldpay](http://www.worldpay.com)
- Cheque Payment (manual processing)

Configuration
-------------

[](#configuration)

A project using this module needs to set its PDS account in project \_config.php file,

- If using DPS-hosted payment gateway (pxpost), set PXPost account: DPSAdapter::set\_pxpost\_account($your\_pxpost\_username, $your\_pxpost\_password);
- If using Merchant-hosted payment geteway (pxpay), set PXPay account: DPSAdapter::set\_pxpay\_account($your\_pxpay\_userid, $your\_pxpay\_key);
- If using both gateways, you need to set both above. This is very likely when using DPS-hosted to Auth a Credit Card and using Merchant-hosted to recursively pay.

This module is a stand-alone module, it is only dependent on SilverStripe core. We have re-factored DPSPayment and make DPSPayment and previous DPSHostedPayment into one payment object, the only difference between the two is they call different functions when making a transaction.

One of its common applications is to be used in E-commerce module. But in general, it should be hook-up with any data object as long as this data object is payable, such as a downloadable mp3, a E-book, booking a ticket on-line, donation, etc. DPSPayment has been re-implemented in this way, though we need to check all other payment methods in future releases.

Roadmap
-------

[](#roadmap)

The module was heavily worked on during GSOC 2012 ([project page](https://github.com/silverstripe/gsoc-wiki/wiki/GSOC-2012-Project:-Improve-Payment-Module)), which resulted in a number of forks, which we'll merge back once they're in a good state.

-
-
-
-
-
-
-

Troubleshooting
---------------

[](#troubleshooting)

### Curl and CA Certificates on Windows

[](#curl-and-ca-certificates-on-windows)

Some gateways (like `DPSPayment`) use PHP's curl in order to submit data, usually through a secure SSL connection. In some cases, the CA certificates aren't accepted. On Windows, PHP's curl doesn't come with any root CAs installed. You'll need to add them manually. The easiest way is a global installation through changing `php.ini`:

- Download
- Move into a common directory, e.g. `c:\php`
- Configure the setting in your `php.ini`: `curl.cainfo=c:\php\cacert.pem`

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance8

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community35

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 61.9% 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.

###  Release Activity

Cadence

Every ~269 days

Total

5

Last Release

3758d ago

Major Versions

0.5.x-dev → 1.0.x-dev2016-02-02

### Community

Maintainers

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

![](https://avatars.githubusercontent.com/u/111025?v=4)[Ingo Schommer](/maintainers/chillu)[@chillu](https://github.com/chillu)

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

---

Top Contributors

[![chillu](https://avatars.githubusercontent.com/u/111025?v=4)](https://github.com/chillu "chillu (26 commits)")[![normann](https://avatars.githubusercontent.com/u/556224?v=4)](https://github.com/normann "normann (5 commits)")[![ajoneil](https://avatars.githubusercontent.com/u/460342?v=4)](https://github.com/ajoneil "ajoneil (3 commits)")[![wilr](https://avatars.githubusercontent.com/u/101629?v=4)](https://github.com/wilr "wilr (2 commits)")[![ss23](https://avatars.githubusercontent.com/u/191510?v=4)](https://github.com/ss23 "ss23 (2 commits)")[![halkyon](https://avatars.githubusercontent.com/u/138450?v=4)](https://github.com/halkyon "halkyon (1 commits)")[![patbolo](https://avatars.githubusercontent.com/u/420098?v=4)](https://github.com/patbolo "patbolo (1 commits)")[![dhensby](https://avatars.githubusercontent.com/u/563596?v=4)](https://github.com/dhensby "dhensby (1 commits)")[![jedateach](https://avatars.githubusercontent.com/u/1356335?v=4)](https://github.com/jedateach "jedateach (1 commits)")

---

Tags

silverstripepaymentpaypalecommerceewayworldpaydpspaystation

### Embed Badge

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

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

###  Alternatives

[silvershop/core

Provides an ecommerce product catalog, shopping cart, and order management system

11340.0k42](/packages/silvershop-core)[aktive_merchant/aktive_merchant

Aktive-Merchant provides a common interface to process payments using multiple gateways.

15036.8k](/packages/aktive-merchant-aktive-merchant)[sunnysideup/ecommerce

Silverstripe E-commerce Application

257.2k79](/packages/sunnysideup-ecommerce)

PHPackages © 2026

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