PHPackages                             w-vision/omnipay-datatrans - 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. w-vision/omnipay-datatrans

Abandoned → [academe/omnipay-datatrans](/?search=academe%2Fomnipay-datatrans)ArchivedLibrary[Payment Processing](/categories/payments)

w-vision/omnipay-datatrans
==========================

Datatrans Gateway for the Omnipay payment processing library

1.0.0(8y ago)12557[1 issues](https://github.com/w-vision/omnipay-datatrans/issues)1MITPHP

Since Jan 10Pushed 2y ago2 watchersCompare

[ Source](https://github.com/w-vision/omnipay-datatrans)[ Packagist](https://packagist.org/packages/w-vision/omnipay-datatrans)[ Docs](https://github.com/w-vision/omnipay-datatrans)[ RSS](/packages/w-vision-omnipay-datatrans/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (2)Versions (2)Used By (1)

Omnipay: Datatrans
==================

[](#omnipay-datatrans)

**Datatrans Gateway for the Omnipay PHP payment processing library.**

[![Build Status](https://camo.githubusercontent.com/e967b3b80ccce7a5b20f6e41759684dcf37d47292847086bb47230725236973d/68747470733a2f2f6170692e7472617669732d63692e6f72672f696e7374726964652f6f6d6e697061792d646174617472616e732e706e67)](https://travis-ci.org/instride/omnipay-datatrans)[![Code Coverage](https://camo.githubusercontent.com/986b2b0cc75c510c05a88a85528bfc15494aab5b313006c05e02296b0e43cf64/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f696e7374726964652f6f6d6e697061792d646174617472616e732f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/instride/omnipay-datatrans/?branch=main)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/78e81d0fdb8f604d4c69d7a445a088228146a6ecdbd25122ff9b9cda29aa381b/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f696e7374726964652f6f6d6e697061792d646174617472616e732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d61696e)](https://scrutinizer-ci.com/g/instride/omnipay-datatrans/?branch=main)[![Latest Stable Version](https://camo.githubusercontent.com/58b47770937d51eb93d1ac7543efde2dcd309e63593f53bebef8f6fe645b68de/68747470733a2f2f706f7365722e707567782e6f72672f696e7374726964652f6f6d6e697061792d646174617472616e732f762f737461626c65)](https://packagist.org/packages/instride/omnipay-datatrans)[![Latest Unstable Version](https://camo.githubusercontent.com/8027da8f36f0eeac812a8dbfda5ab174a6d1d4f1bee8befb6ef5fc789901e5ac/68747470733a2f2f706f7365722e707567782e6f72672f696e7374726964652f6f6d6e697061792d646174617472616e732f762f756e737461626c65)](https://packagist.org/packages/instride/omnipay-datatrans)[![License](https://camo.githubusercontent.com/d98a9e4e684439e8be035a2f00152e5d3537b2e50d4bfde32ed9e73c21c6b5f3/68747470733a2f2f706f7365722e707567782e6f72672f696e7374726964652f6f6d6e697061792d646174617472616e732f6c6963656e7365)](https://packagist.org/packages/instride/omnipay-datatrans)

[Omnipay](https://github.com/thephpleague/omnipay) is a framework-agnostic, multi-gateway payment processing library for PHP 5.3+.

This Gateway implements offsite payments via Datatrans. Purchase and Authorization are available, capturing an authorized payment has to be performed via Datatrans backend (not currently implemented for this Gateway).

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

[](#installation)

Omnipay can be installed using [Composer](https://getcomposer.org/). [Installation instructions](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx).

Run the following command to install omnipay and the datatrans gateway:

```
composer require instride/omnipay-datatrans:^1.0.0

```

Basic Usage
-----------

[](#basic-usage)

Payment requests to the Datatrans Gateway must at least supply the following parameters:

- `merchantId` Your merchant ID
- `transactionId` unique transaction ID
- `amount` monetary amount
- `currency` currency
- `sign` Your sign identifier. Can be found in datatrans backend.

```
$gateway = Omnipay::create('Datatrans');
$gateway->setMerchantId('merchantId');
$gateway->setSign('sign');

// Send purchase request
$response = $gateway->purchase(
    [
        'transactionId' => '17',
        'amount' => '10.00',
        'currency' => 'CHF'
    ]
)->send();

// This is a redirect gateway, so redirect right away
$response->redirect();
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

3094d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5781689?v=4)[Matt O'Donnell](/maintainers/instride)[@InStride](https://github.com/InStride)

---

Top Contributors

[![dpfaffenbauer](https://avatars.githubusercontent.com/u/5981845?v=4)](https://github.com/dpfaffenbauer "dpfaffenbauer (3 commits)")[![fredtro](https://avatars.githubusercontent.com/u/4509478?v=4)](https://github.com/fredtro "fredtro (1 commits)")

---

Tags

paymentgatewaypaymerchantomnipaydatatrans

### Embed Badge

![Health badge](/badges/w-vision-omnipay-datatrans/health.svg)

```
[![Health](https://phpackages.com/badges/w-vision-omnipay-datatrans/health.svg)](https://phpackages.com/packages/w-vision-omnipay-datatrans)
```

###  Alternatives

[lokielse/omnipay-alipay

Alipay gateway for Omnipay payment processing library

557422.2k11](/packages/lokielse-omnipay-alipay)[omnipay/mollie

Mollie driver for the Omnipay payment processing library

631.8M10](/packages/omnipay-mollie)[sudiptpa/omnipay-nabtransact

National Australia Bank (NAB) Transact driver for the Omnipay payment processing library.

1018.7k](/packages/sudiptpa-omnipay-nabtransact)[lucassmacedo/omnipay-mercadopago

MercadoPago gateway for OmniPay

155.1k](/packages/lucassmacedo-omnipay-mercadopago)

PHPackages © 2026

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