Skip to content

Sample app demonstrating integration of Razorpay checkout

License

Notifications You must be signed in to change notification settings

razorpay/razorpay-android-sample-app

Repository files navigation

Banner

Razorpay's Sample Android App

This repository demonstrates how to integrate Razorpay's Android SDK.
The apk built with code from this repository is published here

The documentation to our Android SDK is available here

Features

razorpay.com/mobile

Releases | Integration

Releases are available at https://mvnrepository.com/artifact/com.razorpay/checkout.

tl;dr

  • Add this line to your app's build.gradle inside the dependencies section:

    implementation('com.razorpay:checkout:1.6.20')
    
  • To hand over control to Razorpay's SDK for collecting payment, refer to PaymentActivity.java

  • For the permissions required, refer AndroidManifest.xml

  • For proguard rules when you are releasing the app, refer proguard-project.txt

Kotlin Support

Razorpay's SDKs are now compatible with Kotlin support as well. Find the code for this at https://github.com/razorpay/razorpay-android-sample-app/app/src/main/java/kotlin/PaymentActivity.kt

Support

Razorpay is a tech company. All our engineers handle support too. You can write to us at razorpay.com/support and expect a response from the devs responsible for the Android SDK.

License

MIT Licensed. LICENSE file added to repo.

About

Sample app demonstrating integration of Razorpay checkout

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published