Download the PHP package rahulreghunath/nttdatapay without Composer
On this page you can find all versions of the php package rahulreghunath/nttdatapay. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download rahulreghunath/nttdatapay
More information about rahulreghunath/nttdatapay
Files in rahulreghunath/nttdatapay
Package nttdatapay
Short Description nttdatapay payment gateway integration in laravel
License MIT
Informations about the package nttdatapay
ntt-atom-payment
Laravel integration for NTT DATA PAY Payment gateway.
Installation
Install the package using using composer install.
Run the command to publish the configuration file.
Configuration
Set the credentials and configurations in config/nttdatapay.php
file.
Configuration | Description | Required |
---|---|---|
encKey | Encryption Key | ![]() |
decKey | Decryption Key | ![]() |
payUrl | Payment Url | ![]() |
transactionTrackingUrl | Transaction Tracking Url | ![]() |
merchantId | Merchant id | ![]() |
password | Merchant Password | ![]() |
Please note that the configurations will be different for testing and production environments and will be provided by NTT DATA.
Usage
Create Token Id
use the method createTokenId($data)
to create token id to initiate the payment request.
sample data
Calling Javascript API
Use the Atom Token Id to call the javascript API
Mandatory JavaScript CDN link will be provided by NTT DATA and will be different for production and testing environments.
Check Transaction Status
check the status of the payment using transactionStatus($merTxn,$amt,$date)
method.
Decrypt Response
use decrypt($data)
to decrypt the response message from Atom.
default hashing algorithm used is sha512
and can be use different algorithm based as per NTT DATA's specifications.