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

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

clesson-de/silverstripe-payment-accounts
========================================

Manage payment accounts (bank accounts, credit cards, online accounts) for contacts.

1.0.0(2mo ago)0831BSD-3-ClausePHP

Since May 4Pushed 2mo agoCompare

[ Source](https://github.com/clesson-de/silverstripe-payment-accounts)[ Packagist](https://packagist.org/packages/clesson-de/silverstripe-payment-accounts)[ RSS](/packages/clesson-de-silverstripe-payment-accounts/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (1)Versions (2)Used By (1)

Payment Accounts — Silverstripe Module
======================================

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

A Silverstripe module for managing payment accounts. It supports multiple account types:

- **Bank accounts** — IBAN, BIC, bank name
- **Credit cards** — card type, last 4 digits, expiry date
- **Online accounts** — provider (PayPal, Stripe, Klarna, Apple Pay, Google Pay), account e-mail

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

[](#installation)

```
composer require clesson-de/silverstripe-payment-accounts
```

Then run:

```
/dev/build?flush=all

```

Developer Documentation
-----------------------

[](#developer-documentation)

### Data Model

[](#data-model)

```
PaymentAccount          (Holder, Note)
 ├── BankAccount         (+ BIC, IBAN, Name)
 ├── CreditCard          (+ CardType, Last4Digits, ExpiryDate)
 └── OnlineAccount       (+ Provider, AccountEmail)

```

All subclasses share the base `PaymentAccount` table. Silverstripe's ORM handles the JOIN automatically.

### Constants

[](#constants)

ClassPurpose`Clesson\Silverstripe\PaymentAccount\Constants\CreditCardType`Card type options (visa, mastercard, amex, diners, other)`Clesson\Silverstripe\PaymentAccount\Constants\OnlineAccountProvider`Provider options (paypal, stripe, klarna, apple\_pay, google\_pay, other)Use `CreditCardType::options()` or `OnlineAccountProvider::options()` to get a translated dropdown array. Use `::label($value)` to get the translated label for a stored value.

### Extension Points

[](#extension-points)

The GridField config can be extended via the `updateConfig` hook:

```
// In your extension
public function updateConfig(GridFieldConfig $config): void
{
    // add or remove components
}
```

Apply the extension to `Clesson\Silverstripe\PaymentAccount\Forms\GridFieldConfig_PaymentAccountsInContact` in your `_config/extensions.yml`.

### Database Tables

[](#database-tables)

TableContents`BankAccount_PaymentAccount`Base fields (Holder, Note, ClassName) + ContactID (via contacts extension)`BankAccount_BankAccount`Bank-specific fields (Name, BIC, IBAN)`BankAccount_CreditCard`Card-specific fields (CardType, Last4Digits, ExpiryDate)`BankAccount_OnlineAccount`Online account fields (Provider, AccountEmail)> Table names are prefixed with `BankAccount_` for historical reasons and will not change to avoid data migration.

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance84

Actively maintained with recent releases

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 Bus Factor1

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

Unknown

Total

1

Last Release

82d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/52702628?v=4)[Clesson](/maintainers/clesson-de)[@clesson-de](https://github.com/clesson-de)

---

Top Contributors

[![clesson-de](https://avatars.githubusercontent.com/u/52702628?v=4)](https://github.com/clesson-de "clesson-de (3 commits)")[![kaifeldmaier](https://avatars.githubusercontent.com/u/147379271?v=4)](https://github.com/kaifeldmaier "kaifeldmaier (1 commits)")

---

Tags

silverstripeextensionpaypalcredit-cardBank accountpayment accounts

### Embed Badge

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

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

###  Alternatives

[silverstripe/admin

SilverStripe admin interface

262.8M389](/packages/silverstripe-admin)[silverstripe/silverstripe-omnipay

SilverStripe Omnipay Payment Module

38110.0k17](/packages/silverstripe-silverstripe-omnipay)

PHPackages © 2026

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