DEV Community

Cover image for Razorpay payment
Nishant Handge
Nishant Handge

Posted on

Razorpay payment

Steps to integrate

  • Setting up Razorpay account.

  • Storing API keys in settings.py

  • Installing Razorpay library.

  • Creating order schema.

  • Creating order at backend and also creating Razorpay order.

    • Show template
    • Show views
    • render to payment.html
    • info of call back URL
  • Making payment.

  • Handling payment success and failure.

    • Razorpay makes a post request
    • with the help of that handling success/failure

Top comments (0)