onPaymentFailure not getting called in razorpay
问题 i have been implementing an payment gateway using razorpay when i tap on success button it gives the razorpaymentId but when i tap on failure it simply redirect me to netbancking payment page without displaying any toast which is defined in onPaymentError here is my code :-- override fun onPaymentSuccess(razorpayPaymentID: String) { Toast.makeText(this, "Payment successfully done! $razorpayPaymentID", Toast.LENGTH_SHORT).show() Log.e("onPaymentSucess", "Payment successfully done!