All UPI options are not shown in when UPI payment is selected react-native (android). Paytm , Whatsapp options not shown in UPI Payment

Open
#369 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
android, react-native
Domain
mobile, payments

Research direction

Start by reproducing the Android UPI selection with react-native-razorpay ^2.2.7, then inspect the AndroidManifest.xml package queries listed in the report. Compare the Android behavior with the Info.plist configuration described for iOS. Done means determining why Paytm and WhatsApp are omitted and verifying that the supported UPI options appear on Android.

Written by the indexing model from the issue text.

Description

Description

I had integrated Razorpay into my react native application. When i selected UPI payment only GPay, Phonepay, AxisMobile, BHIM these 4 UPI options are shown
I had added whatsapp and paytm in Androidmanifest.xml but not showing in UPI payment options.

 <queries>
    <package android:name="com.google.android.apps.nbu.paisa.user" />    
    <package android:name="com.phonepe.app"/>
    <package android:name="in.org.npci.upiapp"/>
    <package android:name="com.whatsapp"/>
    <package android:name="net.one97.paytm"/>
    <intent>        
    <action android:name="android.intent.action.SEND" />    
    </intent>
</queries>

I added the below code in Info.plist Paytm option is shown when i select UPI payment in IOS

LSApplicationQueriesSchemes
tez
phonepe
paytmmp

Razorpay Package Version :

react-native-razorpay : ^2.2.7

Razorpay-pod version (iOS) :

react-native-razorpay : ^2.2.7

Java and Gradle Version (android) :

com.android.tools.build:gradle:4.0.1
jdk:8

Android Screenshots :

1ae7c08d-8b8f-42ee-a357-96f53e23ca48
df4fb629-e079-4334-84a2-351b6da12728

Dominant language
Java
Stars
134
Forks
117
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from razorpay/react-native-razorpay

All issues in razorpay/react-native-razorpay

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.