Sample app for Razorpay Java Integration
The sample app is made using Dropwizard Framework.
- Edit the key inside index.ftl
- Add you api_key and api_secret in server.yml file:
apiKey: your_api_key
secretKey: your_api_secret
- Build
mvn clean install
- Run
java -jar target/razorpay-java-testapp-1.0-SNAPSHOT.jar server server.yml
- Make a checkout form using our Checkout Integration
- Accept the
razorpay_payment_id
parameter in the form submission - Run the capture code to capture the payment