Forum

The forum is a free service supported by community members. Please consider opening a support ticket if you need timely help.

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 17 Mar 2011 02:06 PM by  travis hawkins
Explicitly assign Confirmation Page
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages


New Member


Posts:
New Member


--
16 Mar 2011 09:18 PM
    I've been messing with my setup for a few days now and I think I got something confused. Let me explain what I've done:
    First I setup a page called CartTest1 and put the RevindexStorefront control on it, which of course puts a ton of controls on the page. I used that page to pull controls off to put specific ones where I needed them although I know I could set it up to not have to do that, it was just easy that way.

    Next I set the RevindexStorefrontCheckout module on a page called CheckOut. That worked but I had some code I needed to run after a successful purchase. So I set that up as a Web Request in the Place Order Action Rule XSL. The code still wasn't executing though, so I thought maybe the Session wasn't carrying over to the page when called as a Web Request.

    So, next I created another page called Confirmation and put a ViewRevindexStorefrontConfirmation control on it along with a custom control that did the extra handling I needed. Then when I went through the purchase process it went to the CartTest1 page instead of my Confirmation page.

    So then I deleted the CartTest1 page thinking that would leave only 1 page with a Confirmation control on it and it would obviously use that one for the confirmation page. Instead now it takes me to the Home page of the site.

    If I can get it to go to my Confirmation page the extra code I needed is working perfectly from there.

    SO... the long awaited question is. How do I get it to use a specific page as the Confirmation page?
    Thanks!
    0


    Veteran Member


    Posts:2956
    Veteran Member


    --
    16 Mar 2011 09:33 PM
    Good creative attempt to use of the pages and module controls. Make sure to put back the Cart module control on whichever Cart page you define and the Confirmation module control on whichever Confirmation page you define. Then, be sure to clear your DNN cache after you make quick and big changes and I would go further and clear the DNN Recycle bin. DNN some times reports the wrong location of the page where the module control resides after big movements because of caching, which I think is what you are experiencing. Give that a try.

    As for the WebRequest in the place order action, it won't carry the user session to the request since the request is made outside the context of the user so adjust your permissions and info you need to transmit accordingly.
    0


    New Member


    Posts:
    New Member


    --
    17 Mar 2011 02:06 PM
    Clearing the DNN Cache made it work as I had it, thanks for the tip!
    0
    You are not authorized to post a reply.