To integrate the automatic checkout:
- Create a checkout form using our Checkout Integration.
- Accept the
razorpay_payment_idparameter in the form submission.
- 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. Click here to learn more about how to generate keys.
- Edit the <key_id> and <key_secret> in charge.aspx.