Hi,
Can you help me how in below source add:
1. Amount from C# = value from textBox price
2. How move and where put
<% if (TransactionSuccessful) { %>
<h1>Thank you!</h1>
<% } else { %>
<% if (ErrorMessage.Length > 0) { %>
<p style="color:red;"><%= ErrorMessage %></p>
in C# above status?
Source:
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Test</title>
</head>
<body>
<form id="NewPaymentForm" method="post" action="<%= braintreeGateway().TransparentRedirect.Url %>">
<% if (TransactionSuccessful) { %>
<h1>Thank you!</h1>
<% } else { %>
...
Go to the complete details ...