Documentation

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?

  1. Initiate Payment Request: Use index.php to create and initiate the payment request.
  2. Modify JSON Request and Keys: Make necessary changes to the JSON request and the keys used for encryption and decryption.
  3. Setup atomcheckout.js: Configure atomcheckout.js according to UAT and production environments.
  4. Include Certificate: Include the cacert.pem file in the project and ensure the correct path is specified.
  5. Handle Response: Use response.php to manage responses and update the decryption keys within response.php.

How to configure?

  1. Update the MID and keys provided by NTT DATA Payment Services India.
  2. Set the CDN link in accordance with UAT or PROD.

Project Structure

The project will contain the following files:

  • index.php - Payment request initiation
  • response.php - Handles the response part
  • AtomAES.php - Encryption logic
  • cacert.pem - Certificate required for server-to-server calls

Download

Download the latest nttdatapay-corephp.zip file from the releases section on GitHub.