Created
October 4, 2012 21:35
-
-
Save djalmaaraujo/3836612 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
| <?php echo $html->script('jquery-1.4.2.min.js'); ?> | |
| <form method="post" id="form-gateway" action="https://pagseguro.uol.com.br/checkout/checkout.jhtml" style="display:none"> | |
| <input type="hidden" name="email_cobranca" value="<?php echo Config::read('app.gateway.email'); ?>"> | |
| <input type="hidden" name="tipo" value="CP"> | |
| <input type="hidden" name="moeda" value="BRL"> | |
| <input type="hidden" name="encoding" value="UTF-8"> | |
| <input type="hidden" name="ref_transacao" value="event-<?php echo $subscribe['id_inscexterno_dados']; ?>"> | |
| <input type="hidden" name="item_id_1" value="1"> | |
| <input type="hidden" name="item_descr_1" value="CURSOS (<?php echo $event['manager_event_id']; ?>) <?php echo Inflector::humanize(Inflector::slug('Inscrição (#' . $subscribe['id_inscexterno_dados'] . ') ' . $subscribe['nome_inscexterno_dados'])); ?> " /> | |
| <input type="hidden" name="item_quant_1" value="1" /> | |
| <input type="hidden" name="item_valor_1" value="<?php echo number_format($price_pay, 2, ',', '.'); ?>" /> | |
| <input type="hidden" name="item_frete_1" value="0" /> | |
| <input type="hidden" name="item_peso_1" value="0" /> | |
| <input type="hidden" name="tipo_frete" value="EN"> | |
| <input type="hidden" name="cliente_nome" value="<?php echo $subscribe['nome_inscexterno_dados']; ?>"> | |
| <input type="hidden" name="cliente_ddd" value="081"> | |
| <input type="hidden" name="cliente_tel" value="<?php echo $subscribe['telefone_inscexterno_dados']; ?>"> | |
| <input type="hidden" name="cliente_email" value="<?php echo $subscribe['email_inscexterno_dados']; ?>"> | |
| <input type="image" src="https://p.simg.uol.com.br/out/pagseguro/i/botoes/pagamentos/209x48-comprar-assina.gif" name="submit" alt="Pague com PagSeguro - é rápido, grátis e seguro!"> | |
| </form> | |
| <script type="text/javascript"> | |
| $(function(){ | |
| $("form#form-gateway").submit(); | |
| }); | |
| </script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment