If you upgrade to Release 1.14.1, you can call cancelServerTransaction, for example to ensure the transaction is canceled in the app or if the payment is approved, but there's a condition in the app that warrants canceling the transaction.
In JavaScript, the function looks like this:
moduleName.cancelServerTransaction = function(e) {
};
e
should contain a property called "order_no".
In Objective-C, the function would look like:
-(void)cancelServerTransaction:(id)args {
}
args
is an NSDictionary which contains an entry called
"order_no".