PHPackages                             rahulreghunath/nttdatapay - 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. rahulreghunath/nttdatapay

ActiveLibrary[Payment Processing](/categories/payments)

rahulreghunath/nttdatapay
=========================

nttdatapay payment gateway integration in laravel

1.1.0-beta(3y ago)026MITPHP

Since Sep 18Pushed 3y ago1 watchersCompare

[ Source](https://github.com/rahulreghunath/ntt-data-pay)[ Packagist](https://packagist.org/packages/rahulreghunath/nttdatapay)[ RSS](/packages/rahulreghunath-nttdatapay/feed)WikiDiscussions main Synced 1mo ago

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

ntt-atom-payment
================

[](#ntt-atom-payment)

Laravel integration for [NTT DATA PAY](https://www.nttdatapay.com) Payment gateway.

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

[](#installation)

Install the package using using composer install.

```
composer require rahulreghunath/nttdatapay
```

Run the command to publish the configuration file.

```
php artisan vendor:publish --provider="Rahulreghunath\Nttdatapay\ServiceProvider"
```

Configuration
-------------

[](#configuration)

Set the credentials and configurations in `config/nttdatapay.php` file.

ConfigurationDescriptionRequiredencKeyEncryption Key[![](https://camo.githubusercontent.com/f8be4821321d627f8c94dcd194ea55b0e16f53e9823302d77042b8357800b3a2/68747470733a2f2f6769746875622e6769746875626173736574732e636f6d2f696d616765732f69636f6e732f656d6f6a692f756e69636f64652f323731342e706e67)](https://camo.githubusercontent.com/f8be4821321d627f8c94dcd194ea55b0e16f53e9823302d77042b8357800b3a2/68747470733a2f2f6769746875622e6769746875626173736574732e636f6d2f696d616765732f69636f6e732f656d6f6a692f756e69636f64652f323731342e706e67)decKeyDecryption Key[![](https://camo.githubusercontent.com/f8be4821321d627f8c94dcd194ea55b0e16f53e9823302d77042b8357800b3a2/68747470733a2f2f6769746875622e6769746875626173736574732e636f6d2f696d616765732f69636f6e732f656d6f6a692f756e69636f64652f323731342e706e67)](https://camo.githubusercontent.com/f8be4821321d627f8c94dcd194ea55b0e16f53e9823302d77042b8357800b3a2/68747470733a2f2f6769746875622e6769746875626173736574732e636f6d2f696d616765732f69636f6e732f656d6f6a692f756e69636f64652f323731342e706e67)payUrlPayment Url[![](https://camo.githubusercontent.com/f8be4821321d627f8c94dcd194ea55b0e16f53e9823302d77042b8357800b3a2/68747470733a2f2f6769746875622e6769746875626173736574732e636f6d2f696d616765732f69636f6e732f656d6f6a692f756e69636f64652f323731342e706e67)](https://camo.githubusercontent.com/f8be4821321d627f8c94dcd194ea55b0e16f53e9823302d77042b8357800b3a2/68747470733a2f2f6769746875622e6769746875626173736574732e636f6d2f696d616765732f69636f6e732f656d6f6a692f756e69636f64652f323731342e706e67)transactionTrackingUrlTransaction Tracking Url[![](https://camo.githubusercontent.com/81b1cf1e6ec75a3e011a7d113bbef45be14283b68f037386ba8634a091e2f7f2/68747470733a2f2f6769746875622e6769746875626173736574732e636f6d2f696d616765732f69636f6e732f656d6f6a692f756e69636f64652f323734632e706e67)](https://camo.githubusercontent.com/81b1cf1e6ec75a3e011a7d113bbef45be14283b68f037386ba8634a091e2f7f2/68747470733a2f2f6769746875622e6769746875626173736574732e636f6d2f696d616765732f69636f6e732f656d6f6a692f756e69636f64652f323734632e706e67)merchantIdMerchant id[![](https://camo.githubusercontent.com/f8be4821321d627f8c94dcd194ea55b0e16f53e9823302d77042b8357800b3a2/68747470733a2f2f6769746875622e6769746875626173736574732e636f6d2f696d616765732f69636f6e732f656d6f6a692f756e69636f64652f323731342e706e67)](https://camo.githubusercontent.com/f8be4821321d627f8c94dcd194ea55b0e16f53e9823302d77042b8357800b3a2/68747470733a2f2f6769746875622e6769746875626173736574732e636f6d2f696d616765732f69636f6e732f656d6f6a692f756e69636f64652f323731342e706e67)passwordMerchant Password[![](https://camo.githubusercontent.com/f8be4821321d627f8c94dcd194ea55b0e16f53e9823302d77042b8357800b3a2/68747470733a2f2f6769746875622e6769746875626173736574732e636f6d2f696d616765732f69636f6e732f656d6f6a692f756e69636f64652f323731342e706e67)](https://camo.githubusercontent.com/f8be4821321d627f8c94dcd194ea55b0e16f53e9823302d77042b8357800b3a2/68747470733a2f2f6769746875622e6769746875626173736574732e636f6d2f696d616765732f69636f6e732f656d6f6a692f756e69636f64652f323731342e706e67)Please note that the configurations will be different for testing and production environments and will be provided by NTT DATA.

Usage
-----

[](#usage)

#### Create Token Id

[](#create-token-id)

use the method `createTokenId($data)` to create token id to initiate the payment request.

sample data

```
$data = [
    "payInstrument" => [
        "headDetails" => [
            "version" => "OTSv1.1",
            "api" => "AUTH",
            "platform" => "FLASH"
        ],
        "merchDetails" => [
            "merchTxnId" => "Test123450",
            "merchTxnDate" => "2021-09-04 20:46:00"
        ],
        "payDetails" => [
            "amount" => "1",
            "product" => "PRODUCT", // optional value
            "custAccNo" => "ACC NO", // optional value
            "txnCurrency" => "INR"
        ],
        "custDetails" => [
            "custEmail" => "user@email.com",
            "custMobile" => "0000000000"
        ],
        "extras" => [
            "udf1" => "", // optional value
            "udf2" => "", // optional value
            "udf3" => "", // optional value
            "udf4" => "", // optional value
            "udf5" => "" // optional value
        ]
    ]
];
```

```
$payment = new Atom();

$atomTokenId = $payment->createTokenId($data);
```

#### Calling Javascript API

[](#calling-javascript-api)

Use the Atom Token Id to call the javascript API

```
Pay

    const pay=()=>{
        const options = {
            atomTokenId: "atomTokenId ", // token id get from atom
            merchId: "000000", // merchant id
            custEmail: "customer-email",
            custMobile: "customer-mobile",
            returnUrl: "your-response-url"
        }
        const atom = new AtomPaynetz(options,'uat');
    }

```

Mandatory JavaScript CDN link will be provided by NTT DATA and will be different for production and testing environments.

#### Check Transaction Status

[](#check-transaction-status)

check the status of the payment using `transactionStatus($merTxn,$amt,$date)` method.

```
$payment = new Atom();

$response = $payment->transactionStatus($merchantTransactionId,$amount,$date);
```

#### Decrypt Response

[](#decrypt-response)

use `decrypt($data)` to decrypt the response message from Atom.

```
$payment = new Atom();

$jsonData = $payment->decrypt($encryptedData,$digest_algo="sha512");
```

default hashing algorithm used is `sha512` and can be use different algorithm based as per NTT DATA's specifications.

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity34

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.

###  Release Activity

Cadence

Every ~9 days

Total

2

Last Release

1322d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/28650610?v=4)[Rahul Reghunath](/maintainers/rahulreghunath)[@rahulreghunath](https://github.com/rahulreghunath)

---

Top Contributors

[![rahulreghunath](https://avatars.githubusercontent.com/u/28650610?v=4)](https://github.com/rahulreghunath "rahulreghunath (7 commits)")

---

Tags

laravelpayment gatewaynttdatapay

### Embed Badge

![Health badge](/badges/rahulreghunath-nttdatapay/health.svg)

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

###  Alternatives

[luigel/laravel-paymongo

A laravel wrapper for Paymongo API

7956.2k1](/packages/luigel-laravel-paymongo)[hexters/coinpayment

CoinPayment is a Laravel module for handling transactions from CoinPayment like a create transaction, history transaction, etc.

7058.0k](/packages/hexters-coinpayment)[musahmusah/laravel-multipayment-gateways

A Laravel Package that makes implementation of multiple payment Gateways endpoints and webhooks seamless

852.2k1](/packages/musahmusah-laravel-multipayment-gateways)[victorybiz/laravel-crypto-payment-gateway

GoUrl.io Crypto Payment Gateway for Laravel

642.5k](/packages/victorybiz-laravel-crypto-payment-gateway)

PHPackages © 2026

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