razorpay / react-native-razorpay

React Native wrapper for Razorpay's mobile SDKs
https://www.npmjs.com/package/react-native-razorpay
MIT License
122 stars 107 forks source link

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

Open ppv94 opened 2 years ago

ppv94 commented 2 years ago

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
<string>tez</string>
<string>phonepe</string>
<string>paytmmp</string>

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

kobagapu commented 2 years ago

@ppv94 same issue here only phone pay and google pay accepted other UPI not shown

vivekshindhe commented 2 years ago

@ppv94 @kobagapu whatsapp is actually blacklisted from our end due to SR issues. Regrading Paytm, we only show applications that respond to the schema, url://pay for PSP apps. If for any reason Paytm doesn't respond to this we don't show it. Will look into this deeper. But this is the main reason.