Capturar dados
Olá galerinha estou enfrentando uma dificuldade estou utilizando uma aplicação de asp.Net pois estou utilizando o portal http://www.dotnetnuke.com mais especificamente a loja pois estou querendo implantar a forma de pagamento do pagseguro.com.br mais não estou conseguindo pois não estou conseguindo capturar os dados de quantidade descrição e valor entre outros segue os codigos de aspx onde deve entrar o cdigo html do pagseguro
Código do aplicativo aspx
<%@ Control language="c#" CodeBehind="PayPalPayment.ascx.cs" Inherits="DotNetNuke.Modules.Store.Cart.PayPalPayment" AutoEventWireup="True" Debug="false" %>
<%--
This user control sends order info to paypal.
--%>
<p align="left">
<asp:Label id="lblError" runat="server" CssClass="NormalRed"></asp:Label>
</p><asp:Panel ID="pnlProceedToPayPal" runat="server" Visible="true">
<table width="450" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<asp:Label id="lblConfirmMessage" runat="server" CssClass="Normal"></asp:Label>
</td>
</tr>
<tr>
<td align="center" style="text-align: center">
<br />
<asp:Image ID="paypalimage" runat="server" AlternateText="Click here to pay by PayPal using your credit/debit card or PayPal account" /><br />
<asp:ImageButton id="imageButton1" runat="server" ImageUrl="Images/submit.gif" AlternateText="Click here to pay by PayPal using your credit/debit card or PayPal account" Visible="false"></asp:ImageButton>
<asp:Button ID="btnConfirmOrder" runat="server" resourcekey="btnConfirmOrder" Text="Confirm Order" OnClick="btnConfirmOrder_Click" />
</tr>
</table>
</asp:Panel><asp:Panel ID="pnlContinue" runat="server" Visible="false">
<table width="600" cellpadding="0" cellspacing="0" border="0" align="left">
<tr>
<td>
<asp:Label ID="lblOrderNumber" runat="server" CssClass="Normal"></asp:Label>
<asp:Button ID="btnContinue" runat="server" resourcekey="btnContinue" Text="Continue to PayPal >" /><br />
<asp:Image ID="paypalimage2" runat="server" AlternateText="Pay by PayPal using your credit/debit card or PayPal account" Visible="false" />
</td>
</tr>
</table>
Paypalpayment
</asp:Panel>Codigo da loja pag seguro
<form target="pagseguro" action="[https://pagseguro.uol.com.br/security/webpagamentos/webpagto.aspx"](https://pagseguro.uol.com.br/security/webpagamentos/webpagto.aspx) method="post">
<input type="hidden" name="email_cobranca" value="suporte@lojamodelo.com.br" />
<input type="hidden" name="tipo" value="CP" />
<input type="hidden" name="moeda" value="BRL" />
<input type="hidden" name="item_id_1" value="12345" />
<input type="hidden" name="item_descr_1" value="Descrição do item a ser vendido" />
<input type="hidden" name="item_quant_1" value="1" />
<input type="hidden" name="item_valor_1" value="100" />
<input type="hidden" name="item_frete_1" value="0" />
<input type="hidden" name="item_peso_1" value="0" />
<input type="image" src="[https://pagseguro.uol.com.br/Security/Imagens/btnComprarBR.jpg"](https://pagseguro.uol.com.br/Security/Imagens/btnComprarBR.jpg) name="submit" alt="Pague com PagSeguro - é rápido, grátis e seguro!" />
</form>esta espcificado assim**produtos** <headertemplate>
<asp:Label ID="lblProduct" Runat=server resourcekey="lblProduct" cssclass="NormalBold">Product</asp:Label>
</headertemplate>
**Total** <footertemplate>
<asp:Label ID="lblTotals" Runat=server resourcekey="lblTotals" cssclass="NormalBold">Totals:</asp:Label>
</footertemplate>
**Quantidade**<headertemplate>
<asp:Label ID="lblQty" Runat=server resourcekey="lblQty" cssclass="NormalBold">Qty</asp:Label>
</headertemplate>
e assim vai será q e possivel se for possivel alguem podeia me ajudar
Discussão (1)
Carregando comentários...