PHPackages                             os2forms/os2forms\_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. os2forms/os2forms\_payment

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

os2forms/os2forms\_payment
==========================

OS2Forms payment

1.1.2(1y ago)02.3kMITPHPPHP ^8.1

Since Oct 25Pushed 1mo ago3 watchersCompare

[ Source](https://github.com/itk-dev/os2forms_payment)[ Packagist](https://packagist.org/packages/os2forms/os2forms_payment)[ RSS](/packages/os2forms-os2forms-payment/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelog (6)Dependencies (9)Versions (11)Used By (0)

OS2Forms payment
================

[](#os2forms-payment)

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

[](#installation)

```
composer require os2forms/payment
drush pm:enable os2forms_payment
```

Define settings in `settings.local.php`:

```
// CHECKOUT_KEY, both test and production, can be retrieved from Nets admin panel
$settings['os2forms_payment']['checkout_key'] = '';

// SECRET_KEY, both test and production, can be retrieved from Nets admin panel
$settings['os2forms_payment']['secret_key'] = '';

// Page containing terms and conditions URL, including protocol.
$settings['os2forms_payment']['terms_url'] = '';

// Page containing merchant terms URL, including protocol.
$settings['os2forms_payment']['merchant_terms_url'] = '';

// Boolean describing whether the module is operated in test mode
$settings['os2forms_payment']['test_mode'] = TRUE;
```

Setup
-----

[](#setup)

Make sure that the setting values described above are set.

1. Create a new webform
2. Goto Indstillinger -&gt; Formular -&gt; Form preview settings -&gt; Enable preview page (Obligatorisk)
3. Add a payent element on the form
4. Go to the payment element settings and select the element containing the amount to pay (field types: Skjult, Vælg).
5. Test the form. The Nets gateway should appear on the Review page.

Coding standards
----------------

[](#coding-standards)

```
docker run --rm --interactive --tty --volume ${PWD}:/app itkdev/php8.3-fpm:latest composer install
docker run --rm --interactive --tty --volume ${PWD}:/app itkdev/php8.3-fpm:latest composer coding-standards-check

docker run --rm --interactive --tty --volume ${PWD}:/app node:20 yarn --cwd /app install
docker run --rm --interactive --tty --volume ${PWD}:/app node:20 yarn --cwd /app coding-standards-check
```

Code analysis
-------------

[](#code-analysis)

```
docker run --rm --interactive --tty --volume ${PWD}:/app itkdev/php8.3-fpm:latest composer install
docker run --rm --interactive --tty --volume ${PWD}:/app itkdev/php8.3-fpm:latest composer code-analysis
```

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance69

Regular maintenance activity

Popularity19

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 84.5% 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 ~25 days

Total

6

Last Release

441d ago

Major Versions

0.1.0 → 1.0.02024-12-06

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/33924554?v=4)[ITK Development](/maintainers/itk-dev)[@itk-dev](https://github.com/itk-dev)

---

Top Contributors

[![jeppekroghitk](https://avatars.githubusercontent.com/u/106669866?v=4)](https://github.com/jeppekroghitk "jeppekroghitk (109 commits)")[![jekuaitk](https://avatars.githubusercontent.com/u/78410897?v=4)](https://github.com/jekuaitk "jekuaitk (20 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[jms/payment-core-bundle

A unified API for processing payments with Symfony

194742.9k36](/packages/jms-payment-core-bundle)[sylius/invoicing-plugin

Invoicing plugin for Sylius.

901.0M2](/packages/sylius-invoicing-plugin)[paymentsuite/paymentsuite

PaymentSuite is an easy implementation for lot of Payment Methods for Symfony projects

2615.5k2](/packages/paymentsuite-paymentsuite)

PHPackages © 2026

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