1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Post form responses to Redirect URL

Post form responses to Redirect URL

2 posts, 0 answered
  1. Mark
    Mark avatar
    147 posts
    Registered:
    01 Jun 2010
    24 Jan 2012
    Link to this post
    I have a simple form (first name, last name, dollar amount) that I need to post to a separate website for payment processing. 

    The payment processsor needs something similar to www.website.com/page.aspx?firstName=xxx&lastName=xxx&amount=xxx

    How can I take the three values and post them to the URL i've entered into "Redirect to a page..."?  
  2. Victor Velev
    Victor Velev avatar
    1345 posts
    Registered:
    06 Jul 2015
    27 Jan 2012
    Link to this post
    Hello Mark,

    I want to  make a quick note about your request, as I see that there is an .aspx extension of the page that is going to be requested. Sitefinity 4.4 does not support extensions in the urls of the pages. The only way you can get around that is to use some rewrite module.

    However if you want to take have specific values passed to the payment processor you may need to implement a custom logic that uses Request.QueryString. Please consult the following articles:

    http://www.w3schools.com/ASP/asp_inputforms.asp


    http://msdn.microsoft.com/en-us/library/system.web.httprequest.querystring.aspx

    and also:

    http://forums.asp.net/t/1190337.aspx/1


    Greetings,
    Victor Velev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered