Hi I need redirect to payment Bank site Whit post data how I can do it in payment plugin I try add form Whit auto submit but not work in chrome mobile browser plz add sample redirect Whit post data code
Thx
Redirect Whit post data in paymant
Saturday, December 28, 2024 11:18:41 AM
Hi,
PayPal plugin, implemented out of the box in GrandNode is a redirect payment method, you can check its source code and see how it's developed. You can find it here.
PayPal plugin, implemented out of the box in GrandNode is a redirect payment method, you can check its source code and see how it's developed. You can find it here.
Best regards,
Patryk
GrandNode Team
Patryk
GrandNode Team
0
thank you Patryk
i try do it but cant find redirect to pypal web site whit post
my bank web site just lode when i send data whit post metod
in paypal PostProcessPayment
you send data whit get method
you call CreateQueryParameters and create Dictionary thien whit QueryHelpers merge to 1 url then redirect to url
but i should post parametr to url and redirect
sorry for bad english plz help me thx
i try do it but cant find redirect to pypal web site whit post
my bank web site just lode when i send data whit post metod
in paypal PostProcessPayment
you send data whit get method
you call CreateQueryParameters and create Dictionary thien whit QueryHelpers merge to 1 url then redirect to url
but i should post parametr to url and redirect
sorry for bad english plz help me thx
0
this code is working but not work in andrid chrome
Response.Clear();
StringBuilder sb = new StringBuilder();
sb.Append("<html>");
sb.AppendFormat(@"<body onload='document.forms[""form""].submit()'>");
sb.AppendFormat("<form name='form' action='{0}' method='post'>",postbackUrl);
sb.AppendFormat("<input type='hidden' name='id' value='{0}'>", id);
// Other params go here
sb.Append("</form>");
sb.Append("</body>");
sb.Append("</html>");
Response.Write(sb.ToString());
Response.End();
0