Here is how you can integrate the Java server-side SDK with your Java based website:
- Create a .
- Log in to the Razorpay Dashboard and in test mode.
You can install Razorpay using Maven or Gradle.
- Download and install on your system.
- Download the zip file from the Releases section of GitHub.
- Unzip the file and add this dependency to the project object model (POM) of your project.
Import the following packages before your get started:
import org.json.JSONObject;import com.razorpay.*;
- Integrate with :