> ## Documentation Index
> Fetch the complete documentation index at: https://razorpay-881012b3.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Troubleshooting & FAQs

> Troubleshoot common error scenarios and find answers to frequently asked questions about Standard Android integration.

<div style={{display:"flex",flexWrap:"wrap",alignItems:"center",gap:"0.35rem 0.9rem",border:"1px solid rgba(128,128,128,0.28)",borderRadius:"0.5rem",padding:"0.45rem 0.75rem",margin:"0 0 1.25rem",fontSize:"0.875rem"}}>
  <span style={{fontWeight:600}}>Available in</span>
  <span>🇮🇳 India</span>
  <span>🇸🇬 Singapore</span>
  <span>🇺🇸 United States</span>
</div>

<AccordionGroup>
  <Accordion title="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:

    ```java theme={null}
    JSONObject options = new JSONObject();
        options.put("name", "Acme Corp");
        options.put("description", "Reference No. #123456");
        options.put("image", "http://example.com/image/rzp.jpg");
        options.put("order_id", "order_DBJOWzybf0sJbb");//from response of step 3.
        options.put("theme.color", "#3399CC");
    ```
  </Accordion>

  <Accordion title="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.
  </Accordion>

  <Accordion title="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](/docs/payments/payment-gateway/android-integration/standard) and [iOS](/docs/payments/payment-gateway/ios-integration/standard) SDKs.

    You can refer to Xamarin for integrating native [Android](https://docs.microsoft.com/en-us/xamarin/android/platform/binding-java-library/) and [iOS](https://docs.microsoft.com/en-us/xamarin/ios/platform/binding-objective-c/) libraries. Alternatively, you can use web integration to open the checkout form in a web view.
  </Accordion>

  <Accordion title="How can I check the Razorpay Android Standard SDK version?">
    To check the SDK version:

    1. Open your Android project in Android Studio.
    2. Navigate to the `build.gradle` file of your app module (usually `app/build.gradle`).
    3. Locate the `dependencies` block in the file.
    4. Find the line that includes the Razorpay SDK dependency. The version number will be alongside the SDK name in the format`x.y.z`.

    ```java build.gradle theme={null}
     repositories {
         mavenCentral()
     }

     dependencies {
         implementation 'com.razorpay:checkout:1.6.40'
     }
    ```

    <Info>
      **Handy Tips**

      From version 1.6.40 onwards, the latest version is automatically updated, eliminating the need for manual updates.
    </Info>
  </Accordion>

  <Accordion title="How can I update the Razorpay Android Standard SDK version?">
    To update the Standard Android SDK, follow these steps:

    1. Check the [latest SDK version](https://mvnrepository.com/artifact/com.razorpay/checkout).
    2. 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

       }
    3. After updating, sync gradle and check for any compile-time errors.
    4. Ensure all changes are correctly integrated and the application functions as expected.

    <Info>
      **Handy Tips**

      From version 1.6.40 onwards, the latest version is automatically updated, eliminating the need for manual updates.
    </Info>
  </Accordion>

  <Accordion title="I am trying to integrate Razorpay SDK for Android 12. However, the following error message is displayed, **Receiver not registered &#x22; error from checkoutActivity. While trying UPI&#x22; implementation 'com.razorpay:checkout:1.6.13**. How to resolve this?">
    Add the code given below in your Android Manifest.xml file:

    ```java theme={null}
    <receiver
        android:name="com.razorpay.RzpTokenReceiver"
        android:exported="false">
        <intent-filter>
            <action android:name="rzp.device_token.share" />
        </intent-filter>
    </receiver>

    <activity
        android:name="com.razorpay.CheckoutActivity"
        android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
        android:exported="true"
        android:theme="@style/CheckoutTheme">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <data
                android:host="rzp.io"
                android:scheme="io.rzp" />
        </intent-filter>
    </activity>
    ```

    <Info>
      **Handy Tips**

      You do not need to add this code to your integration if using SDK version 1.6.17 and above.
    </Info>
  </Accordion>

  <Accordion title="Can I enable UPI Intent on my Android or iOS app?">
    Yes, you can enable UPI Intent on your [Android](/docs/payments/payment-gateway/web-integration/standard/webview/upi-intent-android) or [iOS](/docs/payments/payment-gateway/web-integration/standard/webview/upi-intent-ios) app.
  </Accordion>

  <Accordion title="How can I accept payments on my Android or iOS apps without integrating with the native SDKs?">
    If you want to accept payments on your Android or iOS apps without integrating with our native SDKs, you can reuse your Standard Integration code. This approach opens the checkout form in a WebView within your mobile app. Know more about [Webview for Mobile Apps](/docs/payments/payment-gateway/web-integration/standard/webview).
  </Accordion>
</AccordionGroup>
