PHP
Introducing the CorePHP plugin for NTTDATA Payment Gateway integration, a powerful tool designed to streamline your payment processing needs. This plugin enables seamless integration of the NTTDATA Payment Gateway into your CorePHP-based website, providing a secure and efficient way to handle transactions. With easy setup and comprehensive features, you can start accepting payments quickly and enhance your experience with robust payment solutions.
What are the Prerequisites?
- PHP version 7.3 and above
- UAT MID and keys will be provided by the NDPS team.
How to Install?
- Initiate Payment Request: Use
index.phpto create and initiate the payment request. - Modify JSON Request and Keys: Make necessary changes to the JSON request and the keys used for encryption and decryption.
- Setup atomcheckout.js: Configure
atomcheckout.jsaccording to UAT and production environments. - Include Certificate: Include the
cacert.pemfile in the project and ensure the correct path is specified. - Handle Response: Use
response.phpto manage responses and update the decryption keys withinresponse.php.
How to configure?
- Update the MID and keys provided by NTT DATA Payment Services India.
- Set the CDN link in accordance with UAT or PROD.
Project Structure
The project will contain the following files:
index.php- Payment request initiationresponse.php- Handles the response partAtomAES.php- Encryption logiccacert.pem- Certificate required for server-to-server calls
Download
Download the latest nttdatapay-corephp.zip file from the releases section on GitHub.