PHPackages                             digipayzone-php/payment - 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. digipayzone-php/payment

ActiveLibrary[Payment Processing](/categories/payments)

digipayzone-php/payment
=======================

DigiPayzone PHP Payment

01PHP

Since Sep 8Pushed 4y ago1 watchersCompare

[ Source](https://github.com/api78/digipay-php)[ Packagist](https://packagist.org/packages/digipayzone-php/payment)[ RSS](/packages/digipayzone-php-payment/feed)WikiDiscussions main Synced 6d ago

READMEChangelogDependenciesVersions (1)Used By (0)

DigiPayzone PHP
===============

[](#digipayzone--php)

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

[](#installation)

```
composer require digipayzone-php/payment
```

### Create Transaction

[](#create-transaction)

```
$newPayment = new Payment("MERCHANT_ID", "MERCHANT_KEY", "API_SECRET");

$newPayment->setOrderId("ORDER_ID");
$newPayment->setCustomer("EMAIL", "MOBILE", "NAME");
$newPayment->setPaymentAmount("AMOUNT");
$newPayment->setReturnUrl("RETURN_URL");
$newPayment->setUdf("UDF1", "UDF2", "UDF3", "UDF4", "UDF5");

try {
    $paymentResponse = $newPayment->createTransaction();
 } catch(\DigiPayzone\PHP\Payment\Exception\PaymentException $ex)
  {
    // Handle Exception
 }
```

### Fetch Transaction

[](#fetch-transaction)

```
 $newPayment = new Payment("MERCHANT_ID", "MERCHANT_KEY", "API_SECRET");
 try {
    $paymentResponse = $newPayment->fetchTransactionByTransactionId("TRANSACTION_ID"); // By Transaction Id
    $paymentResponse = $newPayment->fetchTransactionByOrderId("ORDER_ID"); // By Order Id
 } catch(\DigiPayzone\PHP\Payment\Exception\PaymentException $ex) {
    // Handle Exception
 }
```

### Refund Transaction

[](#refund-transaction)

```
$refund = new Refund("MERCHANT_ID", "MERCHANT_KEY", "API_SECRET");
try {
    $refundResponse = $refund->createRefund("TRANSACTION_ID", "REFUND_AMOUNT", "REFUND_REASON);
 } catch(\DigiPayzone\PHP\Payment\Exception\PaymentException $ex)
 {
    // Handle Exception
 }
```

### Fetch Refund

[](#fetch-refund)

```
$refund = new Refund("MERCHANT_ID", "MERCHANT_KEY", "API_SECRET");
try {
    $refundResponse = $refund->fetchRefund("REFUND_ID");
 } catch(\DigiPayzone\PHP\Payment\Exception\PaymentException $ex)
 {
    // Handle Exception
 }
```

### Fetch Transaction Refund List

[](#fetch-transaction-refund-list)

```
$refund = new Refund("MERCHANT_ID", "MERCHANT_KEY", "API_SECRET");
try {
    $refundResponse = $refund->fetchTransactionRefundList("TRANSACTION_ID");
 } catch(\DigiPayzone\PHP\Payment\Exception\PaymentException $ex)
 {
    // Handle Exception
 }
```

### Create Payout Request

[](#create-payout-request)

```
$payout = new Payout("MERCHANT_ID", "MERCHANT_KEY", "API_SECRET");
$payout->setPayoutType("PAYOUT_TYPE"); // IMPS, NEFT, RTGS, UPI, PAYTM
$payout->setReferenceId("REFERENCE_ID");
$payout->setCustomer("NAME", "EMAIL", "MOBILE");
$payout->setPayoutAmount("PAYOUT_AMOUNT");
$payout->setAccountDetails("HOLDER_NAME", "ACCOUNT_NUMBER", "IFSC_CODE"); // For Bank Transfer
// $payout->setVpaDetails("HOLDER_NAME", "UPI_ADDRESS"); // For UPI Transfer

$payout->setUDF("UDF1", "UDF2", "UDF3", "UDF4", "UDF5");
try {
  $response = $payout->createPayout();
} catch(\DigiPayzone\PHP\Payment\Exception\PaymentException $ex) {
  // Handle Exception
}
```

### Fetch Payout

[](#fetch-payout)

```
$payout = new Payout("MERCHANT_ID", "MERCHANT_KEY", "API_SECRET");
try {
    $response = $payout->fetchPayoutByPayoutId("PAYOUT_ID"); // By Payout Id
  $response = $payout->fetchPayoutByRefId("REFERENCE_ID"); // By Reference Id
} catch(\DigiPayzone\PHP\Payment\Exception\PaymentException $ex) {
  // Handle Exception
}
```

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity28

Early-stage or recently created project

 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://www.gravatar.com/avatar/d29330f46335d1a52f223c37b336ffd3fe9b618ef1b247d183be5a8d821d497a?d=identicon)[api78](/maintainers/api78)

---

Top Contributors

[![payment-78](https://avatars.githubusercontent.com/u/90200854?v=4)](https://github.com/payment-78 "payment-78 (1 commits)")

### Embed Badge

![Health badge](/badges/digipayzone-php-payment/health.svg)

```
[![Health](https://phpackages.com/badges/digipayzone-php-payment/health.svg)](https://phpackages.com/packages/digipayzone-php-payment)
```

###  Alternatives

[omnipay/paypal

PayPal gateway for Omnipay payment processing library

3156.8M53](/packages/omnipay-paypal)[eduardokum/laravel-boleto

Biblioteca com boletos para o laravel

626351.9k2](/packages/eduardokum-laravel-boleto)[tbbc/money-bundle

This is a Symfony bundle that integrates moneyphp/money library (Fowler pattern): https://github.com/moneyphp/money.

1961.9M](/packages/tbbc-money-bundle)[2checkout/2checkout-php

2Checkout PHP Library

83740.3k2](/packages/2checkout-2checkout-php)[smhg/sepa-qr-data

Generate QR code data for SEPA payments

61717.2k5](/packages/smhg-sepa-qr-data)[omnipay/dummy

Dummy driver for the Omnipay payment processing library

271.2M33](/packages/omnipay-dummy)

PHPackages © 2026

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