Hi Guys,
I have configured a payment gateway in ASP.Net using <form> element as below.
<form action='https://test.payu.in/_payment' method='post'>
<input type="hidden" name="firstname" value="Vikas Kumar" />
<input type="hidden" name="lastname" value="" />
<input type="hidden" name="surl" value="https://www.facebook.com" />
<input type="hidden" name="phone" value="9999999999" />
<input type="hidden" name="key" value="gtKFFx" />
<input type="hidden" name="hash" value = "da3374027500c4dff2387fb41c6edf85bdde974ae56ac5592854f2bbf88d1ed6d898bbd44ca91a767ad9aa57d151208bea4326c33c9f7a5b19d9e784fb8b1878" />
<input type="hidden" name="curl" value="http://www.google.com" />
<input type="hidden" name="furl" value="https:/www.yahoo.in" />
<input type="hidden" name="txnid" value="BMC-1006-3678778" />
<input type="hidden" name="productinfo" value="SAU Admission 2014" />
<input type="hidden" name="amount" value="600.00" />
<input type="hidden" name="email" value="vikaskumarsre@gmail.com" />
<asp:ImageButton ID="ImageButton5" runat="server" ImageUrl="~/images/Buy-now.png" PostBackUrl="https://test.payu.in/_payment" />
</form>
I am advised to use HTTP POST method in case of Android App.
Here i am passing key value pairs to the page using Download2 method as below.
Job_Payment.Initialize("Job_Payment",Me)
Job_Payment.Download2(ServerURL3,Array As String("firstname", "Vikas Kumar","lastname","","surl","https://www.facebook.com","phone","9999999999","key","gtKFFx","hash","ff49314211b619634a6301a751467042e227d22801cd323d86efd8696bc822b65780751cc2ee6dc6b420fb61cd21ea434f35f78da9ec23926497e288b22f5407","curl","http://www.google.com","furl","https:/www.yahoo.in","txnid","BMC-x123-1","productinfo","SAU Admission 2014","amount","600.00","email","vikaskumarsre@gmail.com" ))
I am going to Error Page.
Can anyone suggest me if there is another way of doing the same.Upon successfull Job completion payment page opens. I expect it to open here too.
I have configured a payment gateway in ASP.Net using <form> element as below.
<form action='https://test.payu.in/_payment' method='post'>
<input type="hidden" name="firstname" value="Vikas Kumar" />
<input type="hidden" name="lastname" value="" />
<input type="hidden" name="surl" value="https://www.facebook.com" />
<input type="hidden" name="phone" value="9999999999" />
<input type="hidden" name="key" value="gtKFFx" />
<input type="hidden" name="hash" value = "da3374027500c4dff2387fb41c6edf85bdde974ae56ac5592854f2bbf88d1ed6d898bbd44ca91a767ad9aa57d151208bea4326c33c9f7a5b19d9e784fb8b1878" />
<input type="hidden" name="curl" value="http://www.google.com" />
<input type="hidden" name="furl" value="https:/www.yahoo.in" />
<input type="hidden" name="txnid" value="BMC-1006-3678778" />
<input type="hidden" name="productinfo" value="SAU Admission 2014" />
<input type="hidden" name="amount" value="600.00" />
<input type="hidden" name="email" value="vikaskumarsre@gmail.com" />
<asp:ImageButton ID="ImageButton5" runat="server" ImageUrl="~/images/Buy-now.png" PostBackUrl="https://test.payu.in/_payment" />
</form>
I am advised to use HTTP POST method in case of Android App.
Here i am passing key value pairs to the page using Download2 method as below.
Job_Payment.Initialize("Job_Payment",Me)
Job_Payment.Download2(ServerURL3,Array As String("firstname", "Vikas Kumar","lastname","","surl","https://www.facebook.com","phone","9999999999","key","gtKFFx","hash","ff49314211b619634a6301a751467042e227d22801cd323d86efd8696bc822b65780751cc2ee6dc6b420fb61cd21ea434f35f78da9ec23926497e288b22f5407","curl","http://www.google.com","furl","https:/www.yahoo.in","txnid","BMC-x123-1","productinfo","SAU Admission 2014","amount","600.00","email","vikaskumarsre@gmail.com" ))
I am going to Error Page.
Can anyone suggest me if there is another way of doing the same.Upon successfull Job completion payment page opens. I expect it to open here too.