Sample Application

Ensure you are using the latest version of the SDK. You can download the latest version of the SDK from GitHub.

Steps for Integration#

Copypip install flask pip install razorpay==0.2.0 python

If you are re-using this as your final code, please ensure you:

  • Edit the keys inside templates/app.html.

  • Edit the <key_id> and <key_secret> in Use the live keys when using the application to accept live payments. Click here to learn more about how to generate keys.