Android app is crashing every time I invoke `RazorpayCheckout.open API`. How to resolve this?
Android app is crashing every time I invoke `RazorpayCheckout.open API`. How to resolve this?
The Android App crashes because the theme color parameter is passed in curly braces.Use the code given below to resolve the problem:
During checkout, the **Paying To** name reflects my company name. Is it possible to change the **Paying To** name from my company name to my product name?
During checkout, the **Paying To** name reflects my company name. Is it possible to change the **Paying To** name from my company name to my product name?
No. Paying to gives your business name and not the product name. It is a standard flow. So you cannot change it.
Does Razorpay support Xamarin for SDK integration?
Does Razorpay support Xamarin for SDK integration?
No, we do not support Xamarin. However, since Xamarin is essentially a wrapper around Android and iOS, you can create your own Xamarin wrapper using our Android and iOS SDKs.You can refer to Xamarin for integrating native Android and iOS libraries. Alternatively, you can use web integration to open the checkout form in a web view.
How can I check the Razorpay Android Standard SDK version?
How can I check the Razorpay Android Standard SDK version?
To check the SDK version:
- Open your Android project in Android Studio.
- Navigate to the
build.gradlefile of your app module (usuallyapp/build.gradle). - Locate the
dependenciesblock in the file. - Find the line that includes the Razorpay SDK dependency. The version number will be alongside the SDK name in the format
x.y.z.
build.gradle
Handy TipsFrom version 1.6.40 onwards, the latest version is automatically updated, eliminating the need for manual updates.
How can I update the Razorpay Android Standard SDK version?
How can I update the Razorpay Android Standard SDK version?
To update the Standard Android SDK, follow these steps:
- Check the latest SDK version.
- In the app-level gradle build file, update the SDK version to the latest release. dependencies { // … other dependencies // For Razorpay checkout SDK implementation ‘com.razorpay:checkout:<latest-version-name-goes-here>’ // … other dependencies }
- After updating, sync gradle and check for any compile-time errors.
- Ensure all changes are correctly integrated and the application functions as expected.
Handy TipsFrom version 1.6.40 onwards, the latest version is automatically updated, eliminating the need for manual updates.