public function executeProcesarPago() { $this->amount = $this->getRequestParameter('amount'); $this->form_of_payment_id = $this->getRequestParameter('form_of_payment_id'); $this->pay_concept = PayConceptPeer::retrieveByPK($this->getRequestParameter('pay_concept_id')); $cart_id = $this->getRequestParameter('cart_id'); $cart = CartPeer::retrieveByPK($cart_id); if ($this->getRequestParameter('pay_concept_id') == Variables::$PAY_CONCEPT_CARRITO) { $this->cart_articles = $cart->getCartArticles(); } }
</td> <td style="width:20px"></td> <td> <div style="background:#F2F2F2; border:1px solid #CCC; padding:10px; color:#999; font-size:1.2em; text-align:center"> Total a pagar: <font color="#0070BE">$US <?php echo $total; ?> </font> </div> </td> </tr> </table> </td></tr> <tr> <?php if (CartPeer::getQuantityByIdSession(session_id()) > 0) { ?> <td align="center" style="padding:8px"> <a href="<?php echo url_for(array('module' => 'sophiaStore', 'action' => 'vaciarCarrito', 'cart_id' => $cart_id)); ?> "> <img src="/img/btn_vaciar.gif" border="0" /> </a> <a href="<?php echo url_for(array('module' => 'sophiaStore', 'action' => 'index')); ?> "> <img src="/img/btn_seguir.png" border="0" /> </a> <a href="<?php