PHPackages                             kpodjison/unicreditpayment - 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. kpodjison/unicreditpayment

ActiveLibrary

kpodjison/unicreditpayment
==========================

v1.0.0(2y ago)19MITPHP

Since Oct 3Pushed 1y ago1 watchersCompare

[ Source](https://github.com/kpodjison/unicreditpayment)[ Packagist](https://packagist.org/packages/kpodjison/unicreditpayment)[ RSS](/packages/kpodjison-unicreditpayment/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (3)Used By (0)

UnicreditPayment
================

[](#unicreditpayment)

Library for implementing UniCredit online payment

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

[](#installation)

```

composer require kpodjison/unicreditpayment

```

Add the following credentials to .env file of project root directory

```
SERVER_URL = "https://testeps.netswgroup.it/UNI_CG_SERVICES/services"
TIMEOUT = 15000
TID = "UNI_ECOM"
KSIG = "UNI_TESTKEY"
TR_TYPE = "PURCHASE"
CURRENCY_CODE = "EUR"
LANG_ID = "EN"
NOTIFY_URL = "http://127.0.0.1:8000/your-notify-url"
ESITO_URL = "http://127.0.0.1:8000/your-project/notify"
ERROR_URL = "http://127.0.0.1:8000/your-project/error"
```

📍**NB**: The credentials above are for testing. Remember to change them during production.

**💡**: [API DOCUMENTATION](https://pagamenti.unicredit.it/UNI_CG_BRANDING/UNI/doc/api_manual_EN.pdf)

Implementation
--------------

[](#implementation)

### Make Payment

[](#make-payment)

```
    $payManager = new PayManager;
    $uni = new UniCredit([
        'shop_id' => \Ramsey\Uuid\Uuid::uuid4()->toString(),
        'amount' =>100,
        'shopUserRef' => 'abc@gmail.com',
        "info1" => 'paymentinfo1',  //optional parameter
        "info2" => 'paymentinfo2',  //optional parameter
        "info3" => 'paymentinfo3',  //optional parameter
        "info4" => 'paymentinfo4',  //optional parameter
    ]);
    return response()->json($payManager->pay($uni)); //returns redirectUrl,paymentID,shopID to be used for payment verification
```

### Verify Payment

[](#verify-payment)

```
 $verify = new Verify([
           'shop_id' => 'fa37729dd-737c-4122-b53e-771c8f91a2aa',
           'payment_id' =>"002580908057104525647",
       ]);
       return response()->json($verify->verifyPay()); //return success url
```

**💡**: shop\_id and payment\_id are returned when a payment is successful. Pass shopID and paymentID (returned by pay function) as arguments to create an object of class Verify as showed above

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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

Unknown

Total

1

Last Release

949d ago

### Community

Maintainers

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

---

Top Contributors

[![kpodjison](https://avatars.githubusercontent.com/u/50149323?v=4)](https://github.com/kpodjison "kpodjison (16 commits)")

### Embed Badge

![Health badge](/badges/kpodjison-unicreditpayment/health.svg)

```
[![Health](https://phpackages.com/badges/kpodjison-unicreditpayment/health.svg)](https://phpackages.com/packages/kpodjison-unicreditpayment)
```

PHPackages © 2026

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