/razorpay-android-sample-app

Sample app demonstrating integration of Razorpay checkout

Primary LanguageJavaMIT LicenseMIT

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 on the Play Store.

Features

razorpay.com/mobile

Releases | Integration

Releases are available at https://github.com/razorpay/razorpay-android-sample-app/releases.

tl;dr

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

    compile('com.razorpay:checkout:1.3.4')
    
  • 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

Support

Razorpay is a tech company. All our engineers handle support too. You can drop us an email on support@razorpay.com and expect a response from the devs responsible for the Android SDK.

License

MIT Licensed. LICENSE file added to repo.