Hi,
Greetings!
I have a problem w/ posting my form onto an internet payment system called enets.
they told us that we need to pass them 3 values: amount, txnRef, mid
and also, they told us the our system needs to be posting from our domain, site.com lets say.
my question is.. how should i code or let that site know that my system is coming from this domain?
under web.config file, i configured the domain to be :
<authentication mode="Forms">
<forms defaultUrl="site.com" domain="site.com" timeout="120" slidingExpiration="true" loginUrl="~\Login.aspx"/>
</authentication>
under Confirmation.aspx ( have site.master )
METHOD # 1: based on the document, do as how asp / php do, under html:
<form id="form1" runat="server" method="post" action="site.com">
<input type="hidden" name="amount" value="xxx"/>
<input type="hidden" name="txnRef" value="xxx"/>
<input type="hidden" name="mid" value="xxx"/>
METHOD # 2: asp.net
inside code-behind of confirmation.aspx (button click event) : straight
forward sample Response.Redirect("https://site.com.enps.do?amount=xxx&txnRef=xxx&mid=xxx")
Both method are going to the site, but with the error : "Invalid Merchant web url" <--- just an error created by them
advance thanks!