Handle Status
Velocity Android Software Development Kit Integration Guide
The status codes are returned by the SDK in a call back to the handleStatus
method. The method enables the application to handle the status appropriately by implementing the method as shown in the following code sample:
The handleStatus
method shows an error in the CPD server.
if(isSplitPaymentApplicable){
if(statusInfo!!.sessionId != null && statusInfo.sessionId.isNotEmpty()){
mPoint.delegate = this
mPoint.getTxnStatus(-1, "", statusInfo.sessionId, clientInfo)
}
}
To get transaction statuses response implement handleTxnStatus delegate method and repeat the same steps as mentioned above in handleTxnStatus method.
Updated 3 months ago