API ReferenceIntegrationsKnowledge Base

Sample Application

This test app uses a Nuget package based SDK integration. If you are not using nuget, download the SDK from GitHub and add the required version of dll in your project reference.


Follow the below steps to integrate the checkout:

  1. Create a Checkout form using Razorpay Standard Checkout Integration.
  2. Accept the razorpay_payment_id parameter in the form submission.
  3. Run the capture code to capture the payment.

Ensure you do the following while using the sample app:

  • Edit the <key_id> inside Payment.aspx. Use the test keys while testing your application. Learn how to Generate API keys.
  • Edit the <key_id> and <key_secret> in charge.aspx.
  • Enforce the appropriate TLS version in the app, as shown:
CopySystem.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;