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

ActiveLibrary[Payment Processing](/categories/payments)

misato-tremor/omnipay-wirecard
==============================

Wirecard gateway for Omnipay payment processing library

0.2.2(5y ago)014MITPHPPHP &gt;=5.6

Since Jul 25Pushed 5y ago1 watchersCompare

[ Source](https://github.com/MisatoTremor/omnipay-wirecard)[ Packagist](https://packagist.org/packages/misato-tremor/omnipay-wirecard)[ Docs](https://github.com/MisatoTremor/omnipay-wirecard)[ RSS](/packages/misato-tremor-omnipay-wirecard/feed)WikiDiscussions master Synced 2mo ago

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

Omnipay gateway implementation for the [Wirecard Payment Processing API](https://document-center.wirecard.com/display/PTD/REST+API)

Usage
=====

[](#usage)

### Creditcard enrollment check

[](#creditcard-enrollment-check)

```
$gateway = Omnipay::create('Wirecard');
$gateway->setUsername($apiUsername);
$gateway->setPassword($apiPassword);
$gateway->setEndpoint('https://api%s.wirecard.com/engine/rest/payments/');
$gateway->setTestMode(true);
$data = [
    'merchantAccountId' => $maid,
    'amount' => number_format($total, 2, '.', ''),
    'currency' => 'EUR',
    'card' => [
        'firstName' => $firstName,
        'lastName' => $lastName,
        'number' => $cardNumber,
        'cvv' => $cardCvv,
        'expiryMonth' => $cardMonth,
        'expiryYear' => $cardYear,
    ],
    'returnUrl' => '/wirecard/creditcard', // Your API endpoint for processing after 3-D-Secure
];
$response = $gateway->enrollmentCheck($data)->send();
if ($response->isSuccessful() && $response->isRedirect()) {
    $response->redirect(); // Redirect to 3-D-Secure processing, this will redirect to your endpoint upon completion
} elseif ($response->isLiabilityShiftGranted()) {
    $data = [
        'merchantAccountId' => $maid,
        'transactionReference' => $response->getTransactionReference(),
    ];
    $response = $gateway->purchase($data)->send();
    if ($response->isSuccessful()) {
        // Complete order
    }
}
```

### Creditcard 3-D-Secure check (/wirecard/creditcard)

[](#creditcard-3-d-secure-check-wirecardcreditcard)

```
$gateway = Omnipay::create('Wirecard');
$gateway->setUsername($apiUsername);
$gateway->setPassword($apiPassword);
$gateway->setEndpoint('https://api%s.wirecard.com/engine/rest/payments/');
$gateway->setTestMode(true);
$data = [
    'merchantAccountId' => $maid,
    'transactionReference' => $_POST['MD'],
    'paRes' => $_POST['PaRes'],
];
$response = $gateway->checkPayerResponse($data)->send();
if ($response->isSuccessful()) {
    $responseData = $response->getData();
    $data = [
        'merchantAccountId' => $maid,
        'transactionReference' => $responseData->transactionId,
        'paRes' => $responseData->threeD->pares,
        'eci' => $responseData->threeD->eci,
        'xid' => $responseData->threeD->xid,
        'cardholderAuthenticationValue' => $responseData->threeD->cardholderAuthenticationValue,
    ];
    $response = $gateway->purchase($data)->send();
    if ($response->isSuccessful()) {
        // Complete order
    }
}
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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 ~333 days

Total

5

Last Release

1880d ago

### Community

Maintainers

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

---

Top Contributors

[![MisatoTremor](https://avatars.githubusercontent.com/u/3536384?v=4)](https://github.com/MisatoTremor "MisatoTremor (9 commits)")

---

Tags

paymentgatewaypaymerchantomnipaypurchasewirecard

### Embed Badge

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

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

###  Alternatives

[lokielse/omnipay-alipay

Alipay gateway for Omnipay payment processing library

587421.0k11](/packages/lokielse-omnipay-alipay)

PHPackages © 2026

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