Documentation

asp.net - C#

The NTT DATA Payment Services India plugin for C Sharp offers a powerful and secure way to integrate payment processing into your C Sharp applications. This plugin streamlines the management of online transactions, providing a reliable and user-friendly payment experience.

What are the Prerequisites?

  • .NET framwork 4.7.2

How to Integrate?

  1. Ensure that the .NET Framework version 4.7.2 is installed .
  2. Add all require namespaces in page.
  3. Copy the code from the page_load or Button_click method in the .cs file to the desired event, such as Page Load or Button click.
  4. Modify the request and the keys used for encryption and decryption.
  5. Update the UAT and Production CDN link.

Project Structure

The project contains the following files and folder:

  • POJO: Contain classes for require entities
  • Default: Sample page for show token and initiate the checkout page.
  • Default.aspx: Includes code for initiating payment requests, generating tokens, and implementing encryption logic.
  • Response: Sample page for show response
  • Response.aspx: Includes code for capturing payment responses and implementing decryption logic.

Download Sample

This is an example of integration code for ASP.NET (C#), illustrating the process of incorporating the NTTDATA Payment Gateway into your .NET application.

Download latest C# sample code from GitHub.