PHPackages                             terdelyi/omnipay-wirecard - 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. terdelyi/omnipay-wirecard

ActiveLibrary[Payment Processing](/categories/payments)

terdelyi/omnipay-wirecard
=========================

Wirecard gateway for Omnipay payment processing library

11563PHP

Since Jul 25Pushed 9y ago1 watchersCompare

[ Source](https://github.com/terdelyi/omnipay-wirecard)[ Packagist](https://packagist.org/packages/terdelyi/omnipay-wirecard)[ RSS](/packages/terdelyi-omnipay-wirecard/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

omnipay-wirecard
================

[](#omnipay-wirecard)

Wirecard gateway for [Omnipay](https://github.com/thephpleague/omnipay) payment processing library.

> This library **only supports** Wirecard Checkout Page payment yet. You can [read more about](https://www.wirecard.at/en/solutions/products/checkout-page/) the Checkout Page solution here.

Install
-------

[](#install)

Gateway is installed via Composer:

```
composer require terdelyi/omnipay-wirecard
```

or add it to your composer.json file:

```
"require": {
    "terdelyi/omnipay-wirecard": "dev-master"
}
```

It will also install the Omnipay package if it's not available in the autoload.

Basic usage
-----------

[](#basic-usage)

The following gateways are provided by this package:

- Wirecard\_Checkout (Wirecard Checkout Page)

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

Firstly create the gateway:

```
$gateway = Omnipay\Omnipay::create('Wirecard_Checkout');
$gateway->setCustomerId('D200001'); // this is a valid demo customer id
$gateway->setSecret('B8AKTPWBRMNBV455FG6M2DANE99WU2'); // this is also valid for developing
```

Secondly prepare the required parameters:

```
$parameters = [
    'paymentType' => 'CCARD',
    'shopId' => '1234', // optional
    'currency' => 'EUR',
    'description' => 'Awesome Product',
    'language' => 'EN',
    'successUrl' => 'http://your-website.com/response?type=success',
    'failureUrl' => 'http://your-website.com/response?type=failure',
    'cancelUrl' => http://your-website.com/response?type=cancel,
    'serviceUrl' => http://your-website.com/response?type=service,
    'amount' => '100.00' // must be contains decimals
];
```

If any required parameter is missing you will get an InvalidRequestException when you create the request:

```
$request = $gateway->purchase($parameters);
```

Send the request:

```
$response = $request->send();
```

Lastly handle the response:

```
if ($response->isRedirect()) {
    $response->redirect(); // redirect the browser to the Wirecard Checkout Page
} else {
    echo 'Error: '.$response->getMessage();
}
```

If you would like to handle return urls from the Checkout page use this on your response page:

```
$gateway = Omnipay\Omnipay::create('Wirecard_Checkout');
$gateway->setCustomerId('D200001');
$gateway->setSecret('B8AKTPWBRMNBV455FG6M2DANE99WU2');
$request = $gateway->completePurchase();
$response = $request->send();

if ($response->isSuccessful()) {
    echo 'Succesful payment!';
} else if ($response->isCanceled()) {
    echo 'Payment has been cancelled.';
} else if ($response->isPending()) {
    echo 'Your payment is in pending status.';
} else {
    echo $response->getMessage();
}
```

The `getMessage()` and `getData()` methods are available in the response object for further actions.

List of available payment types
-------------------------------

[](#list-of-available-payment-types)

Payment type is highly depended on your contract with Wirecard, but these are the currently available values:

TypeDescriptionBANCONTACT\_MISTERCASHBancontact/Mister CashC2PCLICK2PAYCCARDCredit CardCCARD-MOTOCredit Card Mail Order, Telephone OrderEKONTOeKontoSEPA-DDSEPA Direct DebitEPSEPSGIROPAYgiropayIDLiDEALINSTALLMENTInstallmentINVOICEInvoiceMAESTROMaestro SecureCodeMONETAmoneta.ruMPASSmpassPRZELEWY24Przelewy24PAYPALPayPalPBXPayboxPOLIPOLi paymentsPSCPaysafecardQUICK@QuickSKRILLDIRECTSkrill DirectSKRILLWALLETSkrill Digital WalletSOFORTUEBERWEISUNGsofort.comTRUSTLYTrustlyTo-do
-----

[](#to-do)

- Handling custom parameters (like customerStatement, duplicateRequestCheck, displayText, imageUrl, etc.)
- Unit tests
- Checkout Seamless integration ()

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/623128?v=4)[Tamas Erdelyi](/maintainers/terdelyi)[@terdelyi](https://github.com/terdelyi)

---

Top Contributors

[![terdelyi](https://avatars.githubusercontent.com/u/623128?v=4)](https://github.com/terdelyi "terdelyi (3 commits)")

### Embed Badge

![Health badge](/badges/terdelyi-omnipay-wirecard/health.svg)

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

###  Alternatives

[omnipay/coinbase

Coinbase driver for the Omnipay payment processing library

18570.2k1](/packages/omnipay-coinbase)

PHPackages © 2026

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