PHPackages                             asci/omnipay-sofort - 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. asci/omnipay-sofort

ActiveLibrary[Payment Processing](/categories/payments)

asci/omnipay-sofort
===================

SOFORT Überweisung gateway for Omnipay payment processing library

v2.2.1(11y ago)20127.5k↓66.7%17[3 issues](https://github.com/ismailasci/omnipay-sofort/issues)[2 PRs](https://github.com/ismailasci/omnipay-sofort/pulls)MITPHP

Since Dec 29Pushed 5y ago1 watchersCompare

[ Source](https://github.com/ismailasci/omnipay-sofort)[ Packagist](https://packagist.org/packages/asci/omnipay-sofort)[ RSS](/packages/asci-omnipay-sofort/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (2)Versions (6)Used By (0)

SOFORT Überweisung Omnipay gateway
==================================

[](#sofort-überweisung-omnipay-gateway)

[![Build Status](https://camo.githubusercontent.com/c29c0fa96d4b9ce90b346c72fd597e0f9d78a94bcd4c39a90417945df08435de/68747470733a2f2f7472617669732d63692e6f72672f69736d61696c617363692f6f6d6e697061792d736f666f72742e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/ismailasci/omnipay-sofort)[![Latest Stable Version](https://camo.githubusercontent.com/8a2cd65ad5a42670553a0b37a7bdcc4cea5d68cd2528b9b70daab1c20589f606/68747470733a2f2f706f7365722e707567782e6f72672f617363692f6f6d6e697061792d736f666f72742f762f737461626c652e706e67)](https://packagist.org/packages/asci/omnipay-sofort)[![Total Downloads](https://camo.githubusercontent.com/add250fa12a30f25401ca837aa33c6d7b038520f0badcf1474e795c410136826/68747470733a2f2f706f7365722e707567782e6f72672f617363692f6f6d6e697061792d736f666f72742f646f776e6c6f6164732e706e67)](https://packagist.org/packages/asci/omnipay-sofort)

[SOFORT Überweisung](https://www.sofort.com/eng-INT/) gateway for awesome [Omnipay](https://github.com/adrianmacneil/omnipay) library.

**Important Note: Omnipay 1.x Users**

If you are using Omnipay 1.x versions please use [1.x](https://github.com/ismailasci/omnipay-sofort/tree/1.x) tree. For detailed information you can check Omnipay's 2.0 [release notes](https://github.com/omnipay/omnipay/releases/tag/v2.0.0).

#### API Notes

[](#api-notes)

This gateway only provides 2 methods to place a successful transaction. The first one is `authorize` which initializes an authorization and returns a redirect url.

The second one is `completeAuthorize`. This method doesn't actually complete anything. Since SOFORT Überweisung doesn't have a `capture` functionality, the only way to know about a transaction is checking that transaction details. According to official docs, if there is no any successful or failed transactions, the API will return empty `transactions` XML object.

#### Installation

[](#installation)

To install, simply add it to your composer.json file:

```
{
    "require": {
        "asci/omnipay-sofort": "~2.0"
    }
}
```

and run `composer update`

#### Usage

[](#usage)

For general usage instructions, please see the main [Omnipay](https://github.com/omnipay/omnipay) repository.

**1. Authorize**

```
$gateway = Omnipay::create('Sofort');
$gateway->initialize(array(
    'username' => 'your_account_id',
    'password' => 'password',
    'projectId' => 'sofort_project_id',
    'testMode' => true
));

$response = $gateway->authorize(array(
    'amount' => 199.00,
    'description' => 'Google Nexus 4',
))->send();

$transactionReference = $response->getTransactionReference();

if ($response->isRedirect()) {
    // redirect to offsite payment gateway
    $response->redirect();
} else {
    // payment failed: display message to customer
    echo $response->getMessage();
}
```

**2. Complete Authorize**

```
$gateway = Omnipay::create('Sofort');
$gateway->initialize(array(
    'username' => 'your_account_id',
    'password' => 'password',
    'projectId' => 'sofort_project_id',
    'testMode' => true
));

$response = $gateway->completeAuthorize(array(
    'transactionId' => $transactionReference,
))->send();

if ($response->isSuccessful()) {
    // payment was successful
    print_r($response);
} else {
    // payment failed: display message to customer
    echo $response->getMessage();
}
```

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity40

Moderate usage in the ecosystem

Community16

Small or concentrated contributor base

Maturity67

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

Every ~77 days

Total

5

Last Release

4213d ago

Major Versions

v1.1.0 → v2.1.02014-03-09

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1300970?v=4)[Ismail Asci](/maintainers/ismailasci)[@ismailasci](https://github.com/ismailasci)

---

Top Contributors

[![iasci](https://avatars.githubusercontent.com/u/5040414?v=4)](https://github.com/iasci "iasci (12 commits)")[![mgrinko](https://avatars.githubusercontent.com/u/3237782?v=4)](https://github.com/mgrinko "mgrinko (2 commits)")[![bamarni](https://avatars.githubusercontent.com/u/1205386?v=4)](https://github.com/bamarni "bamarni (1 commits)")[![enesk](https://avatars.githubusercontent.com/u/875592?v=4)](https://github.com/enesk "enesk (1 commits)")

---

Tags

providerpaymentgatewaysofortomnipayuberweisung

### Embed Badge

![Health badge](/badges/asci-omnipay-sofort/health.svg)

```
[![Health](https://phpackages.com/badges/asci-omnipay-sofort/health.svg)](https://phpackages.com/packages/asci-omnipay-sofort)
```

###  Alternatives

[lokielse/omnipay-alipay

Alipay gateway for Omnipay payment processing library

587421.0k11](/packages/lokielse-omnipay-alipay)[sudiptpa/omnipay-nabtransact

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

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

MercadoPago gateway for OmniPay

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

PHPackages © 2026

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