PHPackages                             empatix/omnipay-swedbank - 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. empatix/omnipay-swedbank

ActiveLibrary[Payment Processing](/categories/payments)

empatix/omnipay-swedbank
========================

Swedbank driver for the Omnipay payment processing library

v1.1.0(3y ago)34.6k↓66.7%MITPHP

Since Jun 11Pushed 3mo ago3 watchersCompare

[ Source](https://github.com/Empatix/omnipay-swedbank)[ Packagist](https://packagist.org/packages/empatix/omnipay-swedbank)[ Docs](https://github.com/empatix/omnipay-swedbank)[ RSS](/packages/empatix-omnipay-swedbank/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (7)Used By (0)

Omnipay: Swedbank
=================

[](#omnipay-swedbank)

**Swedbank driver for the Omnipay PHP payment processing library**

[Omnipay](https://github.com/thephpleague/omnipay) is a framework agnostic, multi-gateway payment processing library for PHP. This package implements Vipps support for Omnipay.

[![Latest Version on Packagist](https://camo.githubusercontent.com/fc0b82fe19653e79d0cb19d8a686a80ce265dcbcc9380e248ef525099d9cb242/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f656d70617469782f6f6d6e697061792d7377656462616e6b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/empatix/omnipay-swedbank)[![Build Status](https://camo.githubusercontent.com/bbe4b17ba5efe65667107388cf4627be0a52fe89960abeb77d174a1a7ba982c2/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f656d70617469782f6f6d6e697061792d7377656462616e6b2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/empatix/omnipay-swedbank)[![Quality Score](https://camo.githubusercontent.com/ceba1eabe3e4c8da6d5e06667ef16277645604b7529b5390884837133cae81df/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f656d70617469782f6f6d6e697061792d7377656462616e6b2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/empatix/omnipay-swedbank)[![Total Downloads](https://camo.githubusercontent.com/ab61050f27e71056038ef773112b141b360b6025507b105eded9e28bbbe9f703/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f656d70617469782f6f6d6e697061792d7377656462616e6b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/empatix/omnipay-swedbank)

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

[](#installation)

Omnipay is installed via [Composer](http://getcomposer.org/). To install, simply require `league/omnipay` and `empatix/omnipay-swedbank` with Composer:

```
composer require league/omnipay empatix/omnipay-swedbank

```

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

[](#basic-usage)

The following gateways are provided by this package:

- Swedbank Pay (Card payment instrument)

For general usage instructions, please see the main [Omnipay](https://github.com/thephpleague/omnipay)repository and the [Swedbank documentation](https://developer.swedbankpay.com/payment-instruments/card/)

### Initialize gateway, purchase and redirect to Swedbank

[](#initialize-gateway-purchase-and-redirect-to-swedbank)

```
use Empatix\OmnipaySwedbank\Gateway;

$gateway = new Gateway();

$gateway->initialize([
    'merchantId' => '',
    'password'   => '',
]);

$response = $gateway->purchase([
    'amount'      => '10.00',
    'currency'    => 'NOK',
    'description' => 'This is a test transaction',
    'returnUrl'   => $fallbackUrl,
    'notifyUrl'   => $callbackPrefix,
])->send();

if ($response->isRedirect()) {
    $response->redirect();
}
```

### Get the transaction details

[](#get-the-transaction-details)

```
$response = $gateway->completePurchase(['transactionReference' => $transactionReference])->send();
```

Out Of Scope
------------

[](#out-of-scope)

Omnipay does not cover recurring payments or billing agreements, and so those features are not included in this package. Extensions to this gateway are always welcome.

Support
-------

[](#support)

If you are having general issues with Omnipay, we suggest posting on [Stack Overflow](http://stackoverflow.com/). Be sure to add the [omnipay tag](http://stackoverflow.com/questions/tagged/omnipay) so it can be easily found.

If you want to keep up to date with release anouncements, discuss ideas for the project, or ask more detailed questions, there is also a [mailing list](https://groups.google.com/forum/#!forum/omnipay) which you can subscribe to.

If you believe you have found a bug, please report it using the [GitHub issue tracker](https://github.com/empatix/omnipay-swedbank/issues), or better yet, fork the library and submit a pull request.

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance55

Moderate activity, may be stable

Popularity24

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~189 days

Recently: every ~236 days

Total

6

Last Release

1223d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/29a951c4d5299e1375ea57b5d0174981352c2664df175cb4a074a3c0f87128a0?d=identicon)[leitom](/maintainers/leitom)

![](https://www.gravatar.com/avatar/a295c46b3fad6cdeadeeaafa0225d7cc986f21fa9f3dcbed0490aa3c7115c17b?d=identicon)[MartinSchei](/maintainers/MartinSchei)

---

Top Contributors

[![sharald](https://avatars.githubusercontent.com/u/11389904?v=4)](https://github.com/sharald "sharald (6 commits)")

---

Tags

omnipayempatixomnipay-swedbank

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/empatix-omnipay-swedbank/health.svg)

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

###  Alternatives

[league/omnipay

Omnipay payment processing library

6.1k9.7M166](/packages/league-omnipay)[silverstripe/silverstripe-omnipay

SilverStripe Omnipay Payment Module

38106.0k15](/packages/silverstripe-silverstripe-omnipay)

PHPackages © 2026

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