$payment_price = $paymentparams->get('payment_price', ''); $accepted_credict_card = $paymentparams->get("accepted_credict_card"); $paymentinfo = new stdclass(); $paymentinfo->payment_price = $payment_price; $paymentinfo->is_creditcard = $is_creditcard; $paymentinfo->payment_oprand = $payment_oprand; $paymentinfo->payment_discount_is_percent = $payment_discount_is_percent; $paymentinfo->accepted_credict_card = $accepted_credict_card; $order_shipping_rate = $cart['shipping']; $shopperGroupId = $userhelper->getShopperGroup($user_id); if (PAYMENT_CALCULATION_ON == 'subtotal') { $paymentAmount = $cart['product_subtotal']; } else { $paymentAmount = $cart['total']; } $paymentArray = $carthelper->calculatePayment($paymentAmount, $paymentinfo, $paymentAmount); $total = $paymentArray[0]; $payment_amount = $paymentArray[1]; ?> <!-- <hr/> <table width="100%" border="0" cellspacing="2" cellpadding="2" > <tr><td width="33%" class="checkout-bar-1"><?php echo JText::_('COM_REDSHOP_ORDER_INFORMATION'); ?> </td> <td width="33%" class="checkout-bar-2-active"><?php echo JText::_('COM_REDSHOP_PAYMENT'); ?> </td> <td width="33%" class="checkout-bar-3"><?php echo JText::_('COM_REDSHOP_RECEIPT');