PHPackages                             mincdev/wirecard-wrapper - 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. mincdev/wirecard-wrapper

AbandonedArchivedLibrary

mincdev/wirecard-wrapper
========================

A wrapper to ease integration into Adumo (previously Wirecard / MyGate) webservices.

1.1.3(4y ago)325MITPHP

Since Feb 5Pushed 1y ago1 watchersCompare

[ Source](https://github.com/MincDev/wirecard-wrapper)[ Packagist](https://packagist.org/packages/mincdev/wirecard-wrapper)[ RSS](/packages/mincdev-wirecard-wrapper/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (6)DependenciesVersions (7)Used By (0)

Adumo Payment Gateway Wrapper
=============================

[](#adumo-payment-gateway-wrapper)

A wrapper class to ease integration into Adumo (previously Wirecard / MyGate) webservices.

🚨 Deprecation Warning ⚠️
------------------------

[](#-deprecation-warning-️)

This repository is deprecated and no longer being maintained. The documentation used to create this project is no longer available and integration from new projects are no longer available.

Documentation
-------------

[](#documentation)

This wrapper is built around the Enterprise integration documentation found on the Adumo Online website here:

Composer
--------

[](#composer)

To use the package in your project, install it with Composer

```
composer require mincdev/wirecard-wrapper

```

Example
=======

[](#example)

Initialise the service

```
$adumo = new WirecardDelegate([
    'merchantUID'     => '9BA5008C-08EE-4286-A349-54AF91A621B0', // Your Merchant UID
    'applicationUID'  => '23ADADC0-DA2D-4DAC-A128-4845A5D71293', // Your Application UID
    'mode'            => Constants::WIRECARD_MODE_TEST // Specify Test or Live mode
]);
```

Set the transaction information and the card. You can use test cards in the testing environment.

```
// Create the transaction
$transaction = new Transaction(9.95, "Your Merchant Reference");
$adumo->setTransaction($transaction);

// To use a test card, call one of the functions in the TestCards class
$card = (new TestCards())->visa3DSecure();

// To use a real card, assign it using the below
$card = new Card("Joe Soap", "4111111111111111", "10", "2027", 001);
```

Do a 3D Secure Lookup to see if 3D Secure is required for this card

```
$tdsLookupResult = $adumo->setCard($card)
                         ->lookup3DSecure();

if ($tdsLookupResult->getTdsLookupAuthRequired() == "Y") {
    $token = $adumo->createToken(); // Store this where you can access it from your return URL

    $adumo->requireAuthentication($tdsLookupResult->getTdsLookupAcsUrl(),
                                    $tdsLookupResult->getTdsLookupPayload(),
                                    "https://www.yourcallbackurl.com");
}
```

On your return URL capture the POST variables and do the following

```
$tdsAuthenticateResult = $adumo->tdsAuthenticate($_POST["MD"], $_POST["PaRes"]);

if ($tdsAuthenticateResult->getTdsAuthCcAuthAllowed() == "Y" &&
    $tdsAuthenticateResult->getTdsAuthParesStatus() == "Y" &&
    $tdsAuthenticateResult->getTdsAuthSignatureVerification() == "Y") {
        $authorise = $adumo->setSalesItems($items) // Make sure you stored your items somewhere before calling the authentication
                            ->authoriseSale($tdsAuthenticateResult->getUidTransactionIndex(), Constants::ACTION_AUTHORISE, true);

        $capture = $adumo->capture($authorise->getUidTransactionIndex()); // Capture the sale

        $deleteToken = $adumo->deleteToken(); // Optional - Remove the token
}
```

If the card did not require 3D Secure Authentication, you can continue with the capture step.

All Functions
-------------

[](#all-functions)

For a full description of each action, please refer to the documentation.

Action 14 : lookup3DSecure();
requireAuthentication() // This posts to the third party bank
Action 1, 5 : authoriseSale();
Action 3 : capture();
Action 2 : authReversal();
Action 15 : tdsAuthenticate();
Action 4, 12 : credit();
Action 21 : createToken();
Action 22 : readToken();
Action 23 : deleteToken();

### DISCLAIMER : This repository is not owned nor maintained by Adumo (Wirecard / MyGate) and should be used at own risk.

[](#disclaimer--this-repository-is-not-owned-nor-maintained-by-adumo-wirecard--mygate-and-should-be-used-at-own-risk)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance29

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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

Recently: every ~66 days

Total

6

Last Release

1663d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

adumoadumo-online-wrapperapi-wrappermygatepayment-gatewaypayment-gateway-in-phpwirecardwrapper

### Embed Badge

![Health badge](/badges/mincdev-wirecard-wrapper/health.svg)

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

PHPackages © 2026

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