Skip to Content
CommunityContributing

Contributing

Thank you for helping. These projects are run by the community, and every fix counts.

Where to contribute

WhatWhere
Rules, test vectors, API notesselcom-spec 
Java clientselcom4j 
Node.js clientselcom-node 
Python clientselcompy 
PHP clientselcom-php 
Laravel packagelaravel-selcom 
This siteselcom-developers.github.io 

How to propose a change

  1. Open an issue first for anything large, so we can agree on the approach.
  2. Fork the repository and make a branch.
  3. Make your change. Keep it small and focused.
  4. Open a pull request and describe what changed and why.

Each repository has its own contributing notes. Read them before you start.

Changing the rules

The spec decides how every client behaves. A change to the spec changes every client, so it needs care.

  • Change the doc and the reference implementation in the same pull request.
  • Regenerate the test vectors. Never edit the signing vectors by hand.
  • Open an issue in each client for the change.

Clean-room rule

The community clients are written from scratch. When you contribute:

  • You may read Selcom’s public developer docs and the spec.
  • Do not copy code from Selcom’s official clients or from other clients with a different licence.
  • Write your own code, under the Apache License 2.0.

Keep data safe

  • Never commit real credentials, real customer data, or details of any merchant’s integration.
  • Use made-up data in examples and tests: phone numbers like 255700000001, order IDs like ORD-1001, keys like test-key-0001.

Improving this site

The pages are MDX files in the content folder. Most pages have an “Edit this page” link. The spec pages do not: changes to the rules start in the spec repository . See the repository README for how to run the site on your own machine.

Last updated on