PHPackages                             seniorprogramming/omnipay-ingwebpay - 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. seniorprogramming/omnipay-ingwebpay

ActiveLibrary[Payment Processing](/categories/payments)

seniorprogramming/omnipay-ingwebpay
===================================

Ingwebpay driver for the Omnipay payment processing library

1.1.2(5y ago)13.4k↓50%[1 issues](https://github.com/spgwebdev/ingwebpay/issues)MITPHPPHP ^7

Since Jul 26Pushed 3y ago1 watchersCompare

[ Source](https://github.com/spgwebdev/ingwebpay)[ Packagist](https://packagist.org/packages/seniorprogramming/omnipay-ingwebpay)[ Docs](https://github.com/thephpleague/omnipay-ingwebpay)[ RSS](/packages/seniorprogramming-omnipay-ingwebpay/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (7)Used By (0)

Omnipay: IngWebPay
==================

[](#omnipay-ingwebpay)

**IngWebPay 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 5.3+. This package implements IngWebPay support for Omnipay.

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

[](#installation)

IngWebPay is installed via [Composer](http://getcomposer.org/). To install, simply add it to your `composer.json` file:

```
{
    "require": {
        "seniorprogramming/omnipay-ingwebpay": "~1.0"
    }
}
```

Or run the composer require command from console:

```
$ composer require seniorprogramming/omnipay-ingwebpay

```

Basic Usage IngWebPay
---------------------

[](#basic-usage-ingwebpay)

### Purchase

[](#purchase)

Make a purchase using IngWebPay gateway

```
use Omnipay\Omnipay;

$gateway = Omnipay::create('IngWebPay');
$gateway->initialize([
'userName' => config('ingwebpay.username'),
'password' => config('ingwebpay.password'),
]);

$purchaseData = [
    'amount' => 12.00, //mandatory
    'orderNumber' => '0001', //mandatory
    'returnUrl' => 'https://localhost/purchase-successful', //mandatory
    'description' => 'Test purchase', //optional
    'currency' => 948, //optional (RON currency code - set by default), see docs for other values,
    'language' => 'ro', //optional (RON currency code - set by default), see docs for other values,
    'email' => 'test@test.dev', //optional
];

$transaction = $gateway->purchase($purchaseData);
$response = $transaction->send();

if ($response->isSuccessful()){
    echo "Purchase transaction was successful!\n";
}
```

### PrePurchase

[](#prepurchase)

Make a pre purchase transaction using IngWebPay gateway

```
use Omnipay\Omnipay;

$gateway = Omnipay::create('IngWebPay');
$gateway->initialize([
'userName' => config('ingwebpay.username'),
'password' => config('ingwebpay.password'),
]);

$purchaseData = [
    'amount' => 12.00, //mandatory
    'orderNumber' => '0001', //mandatory
    'returnUrl' => 'https://localhost/purchase-successful', //mandatory
    'description' => 'Test purchase', //optional
    'currency' => 948, //optional (RON currency code - set by default), see docs for other values,
    'language' => 'ro', //optional (RON currency code - set by default), see docs for other values,
    'email' => 'test@test.dev', //optional
];

$transaction = $gateway->prePurchase($purchaseData);
$response = $transaction->send();

if ($response->isSuccessful()){
    echo "PrePurchase transaction was successful!\n";
}
```

### Order Status

[](#order-status)

Get purchase status using IngWebPay gateway.

```
use Omnipay\Omnipay;

$gateway = Omnipay::create('IngWebPay');
$gateway->initialize([
'userName' => config('ingwebpay.username'),
'password' => config('ingwebpay.password'),
]);

$statusData = [
    'orderId' => '0001', //mandatory
    'extended' => true, //optional, for a more detailed response
    'language' => 'ro', //optional (RON currency code - set by default), see docs for other values,
];

$status = $status->purchaseStatus($statusData);
$response = $status->send();

print_r($response->response());
```

### Reverse PrePurchase

[](#reverse-prepurchase)

Reverse a pre purchase transaction using IngWebPay gateway

```
use Omnipay\Omnipay;

$gateway = Omnipay::create('IngWebPay');
$gateway->initialize([
'userName' => config('ingwebpay.username'),
'password' => config('ingwebpay.password'),
]);

$purchaseData = [
    'orderId' => '0001', //mandatory
];

$transaction = $gateway->reversePurchase($purchaseData);
$response = $transaction->send();

if ($response->isSuccessful()){
    echo "Reverse pre purchase transaction was successful!\n";
}
```

### Complete PrePurchase

[](#complete-prepurchase)

Complete a pre purchase transaction using IngWebPay gateway. Within 7 days for Maestro transactions and 14 days for VISA/Mastercard. After this time the pre-authorization expires and a new transaction request must be made by the client.

```
use Omnipay\Omnipay;

$gateway = Omnipay::create('IngWebPay');
$gateway->initialize([
'userName' => config('ingwebpay.username'),
'password' => config('ingwebpay.password'),
]);

$purchaseData = [
    'orderId' => '0001', //mandatory
    'amount' => 12.00, //mandatory, if the amount equals 0, the transaction uses the initial amount from prepurchase, Keep in mind that the amount requested cannot be bigger than the initial amount made through prePurchase.
    'language' => 'ro', //optional (RON currency code - set by default), see docs for other values,
];

$transaction = $gateway->reversePurchase($purchaseData);
$response = $transaction->send();

if ($response->isSuccessful()){
    echo "Reverse pre purchase transaction was successful!\n";
}
```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 66.7% 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 ~151 days

Recently: every ~188 days

Total

6

Last Release

2096d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3ab8ed234d07c14f718f8a4dc5945f562b741bf9d75a73f40b58fc4c53d9dab5?d=identicon)[CiprianOpreaPrestimedia](/maintainers/CiprianOpreaPrestimedia)

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

---

Top Contributors

[![mpseniorprogramming](https://avatars.githubusercontent.com/u/27848957?v=4)](https://github.com/mpseniorprogramming "mpseniorprogramming (4 commits)")[![CiprianOpreaPrestimedia](https://avatars.githubusercontent.com/u/39329521?v=4)](https://github.com/CiprianOpreaPrestimedia "CiprianOpreaPrestimedia (1 commits)")[![spgwebdev](https://avatars.githubusercontent.com/u/24602726?v=4)](https://github.com/spgwebdev "spgwebdev (1 commits)")

---

Tags

paymentgatewaypaymerchantomnipayingingwebpay

### Embed Badge

![Health badge](/badges/seniorprogramming-omnipay-ingwebpay/health.svg)

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

###  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)
