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)03.9kMITPHPPHP ^8.1

Since Oct 25Pushed 3mo 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 yesterday

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

40

—

FairBetter than 86% of packages

Maintenance63

Regular maintenance activity

Popularity22

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

487d 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

[symfony/form

Allows to easily create, process and reuse HTML forms

2.8k162.1M3.4k](/packages/symfony-form)[symfony/rate-limiter

Provides a Token Bucket implementation to rate limit input and output in your application

27054.3M289](/packages/symfony-rate-limiter)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)[sylius/invoicing-plugin

Invoicing plugin for Sylius.

891.1M2](/packages/sylius-invoicing-plugin)[symfony/ux-dropzone

File input dropzones for Symfony Forms

551.8M7](/packages/symfony-ux-dropzone)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1616.4k14](/packages/2lenet-crudit-bundle)

PHPackages © 2026

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