Available in🇮🇳 India🇸🇬 Singapore🇺🇸 United States
You can use Razorpay Standard SDK to integrate the Razorpay Payment Gateway with your Android Application.
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 changes 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 auto-reads it.
- Upgrade to the latest version available on the Maven Repository.
-
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
onPaymentErrormethod. Check the TLS versions. -
If you are using SDK version below 1.6.15, you need to make changes to your Android
Manifest.xmlfile.
Update SDKCheck your current SDK version. If it is outdated, please update the SDK manually to ensure uninterrupted settlements of your funds.From version 1.6.40 onwards, the latest version is automatically updated, eliminating the need for manual updates.
Integration Steps
Before you proceed:- Create a Razorpay account.
- Generate the API Keys from the Dashboard. To go live with the integration and start accepting real payments, generate Live Mode API Keys and replace them in the integration.
- Know about the Payment Flow.
1. Build Integration
Integrate Android Standard SDK.
2. Test Integration
Test the integration by making a test payment.
3. Go-live Checklist
Check the go-live checklist.
Sample App
Check the sample app to integrate on GitHub.