Troubleshooting & FAQs

Troubleshoot common error scenarios and find answers to frequently asked questions about standard android integration.


Add the code given below in your Android Manifest.xml file:

<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>

Handy Tips

You do not need to add this code to your integration if using SDK version 1.6.17 and above.

The Android App crashes because the theme color parameter is passed in curly braces.

Use the code given below to resolve the problem:

JSONObject options = new JSONObject();
options.put("name", "Merchant Name");
options.put("description", "Reference No. #123456");
options.put("image", "https://s3.amazonaws.com/rzp-mobile/images/rzp.jpg");
options.put("order_id", "order_DBJOWzybf0sJbb");//from response of step 3.
options.put("theme.color", "#3399CC");

No. Paying to gives your business name and not the product name. It is a standard flow. So you cannot change it.