Integrate With Android Standard SDK

Integrate Razorpay Payment Gateway with your Android app using the Razorpay Android Standard SDK and start accepting payments.


You can use Razorpay Standard SDK to integrate the Razorpay Payment Gateway with your Android Application.

Watch Out!

, all developers must declare how they collect and handle user data for the apps they publish on Google Play and provide details about how they protect this data through security practices like encryption. Know more about how to fill the .

Handy Tips

  • Starting from version 1.6.22, the Android Standard SDK includes codes in Kotlin. Please add the Kotlin library to your project.

  • Due to the

    in Google Play Developer policy, we have removed auto-read SMS feature from Razorpay Android Standard SDK versions 1.5.1 and higher. However, if your Android app already has permission to read SMS, then Razorpay will auto-read it.

  • Upgrade to the latest version available on the

    .

  • According to the PCI regulations, payment processing is not allowed on TLS v1. Hence, if the device does not have TLS v1.1 or v1.2, the SDK will throw an error in the onPaymentError method. Check the

    .

  • If you are using SDK version below 1.6.15, you need to make

    change to your Android Manifest.xml file.

Version No.Release DateChanges
1.6.2617 Oct 2022Bug fixes
1.6.2528 Sept 2022Feature : Metadata inclusion for all payment_canceled scenarios
Bug fix : Security Risk
1.6.2408 Aug 2022Bug fixes
1.6.2321 July 2022Bug Fixes :
  • NPE OpinionationSoln
  • Timeout error will appear as a JSONObject
  • Generic bug fixes
1.6.2222 June 2022Features :
  • SDK Integration Status check
  • PayloadHelper class to help create a payload

Watch this video to learn how to integrate Razorpay Payment Gateway on your Android app.