Orders order = (Orders) req.getSession().getAttribute(SESSION_ATTRIBUTE_ORDER);
order.setCreditCard(opf.getCard());
SalesTaxService sts = new SalesTaxService();
SalesTax st = sts.getById(opf.getCard().getBillingAddress().getState());
Double tax = 10.00;
if (st != null) {
tax = st.getPercent()/100 * order.getItemSubTotal();
}
order.setSalesTax(tax);