nitish24p / react-native-upi

A tiny module for Adding payments via UPI in your react native apps ❤️
MIT License
75 stars 29 forks source link

Calling initializePayment on device fails instantly with 'no action taken' #5

Open abhiram-n opened 5 years ago

abhiram-n commented 5 years ago

I was testing out the UPI payment feature on my app last week on a device (Mi Redmi 5 Plus) and it worked as expected: when I fire initializePayment, the screen displays the list of apps that can handle the UPI urls.

However, the same doesn't work on another Mi device. When initializePayment is called, the request fails immediately with status=failure and message=no action taken without launching an app picker to handle the url.

I checked the url in the java code and the UPI url being generated is the right one. (The device on which this fails also has UPI apps that can handle this sort of a url). Any ideas why this might happen?

"react-native": "0.59.5", "react-native-upi-payment": "^1.0.2",

MohamadAshik commented 8 months ago

Were you able to solve the issue? I am facing same issue. I am using

"react-native-upi-payment": "^1.0.5", "react-native": "0.72.6",