Open altafkhan8719 opened 2 years ago
I am not getting the list of UPI apps on my Android 12 version if passed as UpiApplication as Gpay, which is installed on my mobile. I am getting activity_unavailable as raw response
Steps to reproduce the behaviour:
final a = await UpiPay.initiateTransaction( amount: "20", app: UpiApplication( androidPackageName: 'com.google.android.apps.nbu.paisa.user', iosBundleId: 'com.google.paisa', appName: 'Google Pay', discoveryCustomScheme: 'gpay', ), receiverName: 'Sharad', receiverUpiAddress: _upiAddressController.text, transactionRef: transactionRef, transactionNote: 'UPI Payment',
); print(a);
Getting below response:
UpiTransactionResponse { txnId: null, responseCode: null, approvalRefNo: null, status: UpiTransactionStatus.failure, txnRef: null, rawResponse: activity_unavailable }
Please provide a repo with minimal code for reproducibility. As I am unable to reproduce this on my side.
Also, if possible try on other devices to pin down if it is a device specific issue.
Describe the bug
I am not getting the list of UPI apps on my Android 12 version if passed as UpiApplication as Gpay, which is installed on my mobile. I am getting activity_unavailable as raw response
To Reproduce
Steps to reproduce the behaviour:
final a = await UpiPay.initiateTransaction( amount: "20", app: UpiApplication( androidPackageName: 'com.google.android.apps.nbu.paisa.user', iosBundleId: 'com.google.paisa', appName: 'Google Pay', discoveryCustomScheme: 'gpay', ), receiverName: 'Sharad', receiverUpiAddress: _upiAddressController.text, transactionRef: transactionRef, transactionNote: 'UPI Payment',
Getting below response:
UpiTransactionResponse { txnId: null, responseCode: null, approvalRefNo: null, status: UpiTransactionStatus.failure, txnRef: null, rawResponse: activity_unavailable }
Environmental Details