Java Client

The Razorpay Payment Gateway enables you to accept payments via debit card, credit card, netbanking (supports 3D Secure), UPI or through any of our supported wallets.

Installation#

You can install Razorpay using Maven or Gradle.

Maven#

  • Download and install Maven on your system.

  • Download and unzip the latest Source code file from the release section on GitHub.

  • Add this dependency to your project's POM:

    Copy<dependency> <groupId>com.razorpay</groupId> <artifactId>razorpay-java</artifactId> <version>x.y.z</version> //x.y.z = version you want to install </dependency>

Gradle#

  • Download and install Gradle on your system.

  • Download and unzip the latest Source code file from the release section on GitHub.

  • Add this dependency to your project's build file:

    Copycompile "com.razorpay:razorpay-java:x.y.z" //x.y.z = version you want to install

License#

The Razorpay PHP SDK is released under the MIT License. Click here for details.