Sample app for Razorpay Java Integration
Switch branches/tags
Clone or download
ankit-rzp Merge pull request #3 from razorpay/fix_orders_api
[Order API]: Upgrading razorpay-java version to 1.3.1
Latest commit 4641b59 Jul 31, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/main [Order API]: Upgrading razorpay-java version to 1.3.1 Jul 31, 2017
.gitignore fixed untracked files Nov 8, 2016
README.md Updating README Nov 8, 2016
pom.xml [Order API]: Upgrading razorpay-java version to 1.3.1 Jul 31, 2017
server.yml [Refactor] Nov 8, 2016

README.md

Razorapay Test App for Java

Sample app for Razorpay Java Integration

The sample app is made using Dropwizard Framework.

Steps to run sample app:

  • 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

Steps for Integration:

  1. Make a checkout form using our Checkout Integration
  2. Accept the razorpay_payment_id parameter in the form submission
  3. Run the capture code to capture the payment