我正在使用 implementation 'com.shreyaspatil:EasyUpiPayment:2.2' 进行upi支付。但是GPay在交易时失败,说这笔交易可能存在风险。PhonePe则表示由于技术错误导致交易失败。我不明白问题出在哪里,以下是代码:
final EasyUpiPayment easyUpiPayment = new EasyUpiPayment.Builder()
.with(this)
.setPayeeVpa("xxxxxxxxxxxxxxx")
.setPayeeName("xxx xxxx xxxx")
.setTransactionId(transactionId)
.setTransactionRefId("Ref" + transactionId)
.setDescription(description)
.setAmount(amount)
.build();
easyUpiPayment.startPayment();