Skip to content

Suvam-Dawn/Razorpay-For-Android

Repository files navigation


Razorpay-For-Android
Razorpay (Payment Gateway- https://razorpay.com/) Integration in Android

Razorpay is a payments company that provides payment solutions to online merchants in India. Razorpay was founded in 2014 and is headquartered in Bangalore, India. Razorpay allows online businesses to accept, process and disburse digital payments through several payment modes like debit cards, credit cards, net banking, UPI and prepaid digital wallets. Razorpay payment solutions can be integrated by both web and mobile applications.

Steps:-

  1. Create your account into Razorpay (https://razorpay.com/) .
  2. Generate Razorpay Key Id from Settings-> API Keys and copy Key Id.
  3. Add implementation 'com.razorpay:checkout:1.4.9' into app lable gradle file's dependencies.
  4. Check minSdkVersion, Razorpay works from SDK - 19 .
  5. Add Internet permission into AndroidManifest.xml file
    <uses-permission android:name="android.permission.INTERNET"/>
  6. Check main code from MainActivity.java

Razorpay UI:-


You can change icon and theme color from Razorpay Settings-> Configuration.

Razorpay Payment Success Message:-