This module provides an integration of the payment provider Unzer for the Drupal Commerce payment and checkout system.

Features

  • The onsite payment gateway supports credit card payment. It is a straight forward port of the one from commerce_heidelpay (see History)
  • The offsite payment gateway is under active development and is supposed to support other payment methods in addition to credit card payment.

Version Compatibility

Drupal 11

Supposed to work (2.0.x branch (with Commerce 3.x)) but untested.

Drupal 10.1+

Supported (1.0.x (with Commerce 2.x) and 2.0.x branches (with Commerce 3.x)). The version used for developing the module is currently 10.4.

Drupal 8 and 9

Drupal 8 and 9 themselves are no longer supported. So we have dropped support, too.

PHP 8

The minimum PHP version of Drupal 10.1 is PHP 8.1.

PHP 7

Not supported by Drupal 10 and thus not by commerce_unzer.

Installation Instructions

Composer

In your project top level directory run
composer require drupal/commerce_unzer

PHP configuration

Unzer will throw exceptions due to rounding errors for some amounts to be paid if this setting is not set to -1 in your PHP configuration.
serialize_precision = -1
See https://docs.unzer.com/server-side-integration/php-sdk-integration/php-i... and https://www.php.net/manual/en/ini.core.php#ini.serialize-precision

History

This module started as a port of commerce_heidelpay to the new Unzer SDK. See also that module for additional credits.

Supporting organizations: 
sponsors development

Project information

Releases