nitish24p / react-native-upi

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

Issue with google pay app #25

Closed ramprakashreddy closed 3 years ago

ramprakashreddy commented 3 years ago

image

Issue with google pay app, if i cancel the payment after opening the gpay app , the application is crashing, it is working with other UPI apps, When i had checked using logs, i found that while using Gpay app , Failure callback funtion returns data which does not contain "data.nameValuePairs.message;". so it is giving an error since it is undefined.

Gpay App returns data as image other apps return data which contains message as well image I have tried fixing it by adding a small condition in UPIPayment.js file.

Can anyone confirm if they are facing the same issue , if so i could submit a PR to fix this

nitish24p commented 3 years ago

Yea you can give a PR for this.. seems like a hygiene fix

ramprakashreddy commented 3 years ago

Yea you can give a PR for this.. seems like a hygiene fix

@nitish24p please check i have created a PR #26

ramprakashreddy commented 3 years ago

@nitish24p any update on the issue , please check PR #26

ramprakashreddy commented 3 years ago

Issue fixed with PR #26