Java/jsp version of Ipay integration