Android Question Eventhandler not being call from Activity

AndroidMadhu

Active Member
Licensed User
Hello,
I am integrating Razorpay payment gateway.
But when I am calling the activity for payment, all the payments are being successfull...... but after that I am getting error as below screenshot:

1609582029970.png


When I am cancel the payment then the payment cancel successfuly but the below error is coming :


1609582097581.png

The below code I am running from Actrazorpay() activity:

B4X:
 Sub co_onpaymentsuccess(razorpayPaymentID As String)
Log($"co_onPaymentSuccess razorpayPaymentID = ${razorpayPaymentID} "$)
payid=razorpayPaymentID
Log(payid)
End Sub

Sub co_onpaymenterror(code As Int, response As String)
Log($"co_onPaymentError code = ${code}     response ${response}"$)
End Sub

Please advice...

Thanks
 
Top