UPI Failure while transaction

        String amount = mEditTextAmount.getText().toString();     mEasyUpiPayment = new EasyUpiPayment.Builder()             .with(this)             .setPayeeVpa("akash123455190@okhdfcbank")             .setPayeeName("AKASH R")             .setTransactionId(mTransactionID)             .setTransactionRefId(mTransactionID)             .setDescription(mName + " : " + mPhoneNumber)             .setAmount(String.valueOf(Float.parseFloat(amount)))             .build();      mEasyUpiPayment.setPaymentStatusListener(this);  @Override public void onTransactionCompleted(TransactionDetails transactionDetails) {     Log.d("rdsresdrs", transactionDetails.toString()); }   @Override public void onTransactionSuccess() {  }  @Override public void onTransactionSubmitted() {     Toast.makeText(this, "Pending", Toast.LENGTH_SHORT).show(); }  @Override public void onTransactionFailed() {      Toast.makeText(this, "Transaction Failed", Toast.LENGTH_SHORT).show();  }  @Override public void onTransactionCancelled() {     Toast.makeText(this, "Transaction Cancelled", Toast.LENGTH_SHORT).show(); }  @Override public void onAppNotFound() {     Toast.makeText(this, "App is not Installed on this Device", Toast.LENGTH_LONG).show(); } 

Not able to check transaction error s this library does not provide any such feature. Any particular reason the transaction through UPI would fail in Android? Any help is apppreciated

Add Comment
0 Answer(s)

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.