Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Custom payment app selection #29

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jaiminbhut
Copy link

@jaiminbhut jaiminbhut commented Jun 20, 2021

I have add a new feature the helps developers to select specific app for payment.

For example, if I only need my users payment through GPay I pass one extra param tez in initializePayment method.

RNUpiPayment.initializePayment({
  vpa: 'john@upi', // or can be john@ybl or mobileNo@upi
  payeeName: 'John Doe',
  amount: '1',
  transactionRef: 'aasf-332-aoei-fn'
}, successCallback, failureCallback,'tez');

So whenever initializePayment method will call only GPay application will open. if app not found then it's returns system message for me it's return No apps can perform this action.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant