Created
November 2, 2015 13:58
-
-
Save ar/1a3ac44f545510bd8b32 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var isoMsg = Java.type("org.jpos.iso.ISOMsg"); | |
var isoSource = Java.type("org.jpos.iso.ISOSource"); | |
var commit = function(id, ctx) { | |
try { | |
isoMsg = ctx.get("ISO_SOURCE"); | |
isoSource = ctx.get("ISO_REQUEST"); | |
isoMsg.set(39, "00"); | |
isoSource.send(isoMsg); | |
} catch (e) { | |
print(e.message); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment