Announcement

Collapse
No announcement yet.

Logout code for invoice page

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Logout code for invoice page

    I know that the new version of Miva is coded to keep the customer logged in after an order is completed, but I need to find a way to automatically log them out.

    We have set up accounts for many of our regular phone customers and if one of our reps forgets to clear their cookie by closing the browser or deleting the files, it creates a lot of hassle if the next order is for a new customer without an account. You end up with the new order under the previous customer's account when you get to checkout, and then have to make the customer hang on the phone while you get things straight. The problem is even worse if the previous customer was wholesale and the next one is retail. Our reps really try to remember to close things out after taking an order, but we all wear many hats around here, and distractions are more the rule than the exception.

    Is there some way I can code the invoice page to automatically log a customer out when the order is completed? (I have Bill's toolkit, if that makes a difference.) I know I can put a logout link on the invoice page, but would really prefer something automatic.

    I understand the logic behind leaving the customer logged in, but maybe there could be someway to make that an option in a future update??

    Thanks,
    Annie

  • Re: Logout code for invoice page

    I'm not sure this would work but you could try it. On the OPAY page Action input, you could add LOGO after the AUTH action, "AUTH,LOGO". See if that logs them out and still goes to the INVC page.
    Bill Weiland - Emporium Plus http://www.emporiumplus.com/store.mvc
    Online Documentation http://www.emporiumplus.com/tk3/v3/doc.htm
    Question http://www.emporiumplus.com/mivamodu...vc?Screen=SPTS
    Facebook http://www.facebook.com/EmporiumPlus
    Twitter http://twitter.com/emporiumplus

    Comment


    • Re: Logout code for invoice page

      Thank you very much, Bill. That worked. (My staff thanks you, too!)

      Comment


      • Re: Logout code for invoice page

        Originally posted by RMWAnnie View Post
        I know that the new version of Miva is coded to keep the customer logged in after an order is completed, but I need to find a way to automatically log them out.
        Was I sleeping in class again when this change was made? I was thinking that logging out upon completion of the order was a security feature?

        Leslie
        Leslie Kirk
        Miva Certified Developer
        Miva Merchant Specialist since 1997
        Previously of Webs Your Way
        (aka Leslie Nord leslienord)

        Email me: [email protected]
        www.lesliekirk.com

        Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

        Comment


        • Re: Logout code for invoice page

          This is in the Toolkit docs:

          62. Use logbackin on the INVC (invoice) screen to log customers back in automatically. Normally when a customer completes an order they are automatically logged out with Merchant versions prior to December 2009. Merchant versions after December 2009 have a log back in feature built in so do not use this function with the newer versions.

          I haven't found this built in feature, so I'm not sure what Bill's referring to. Is there something that maybe Annie had enabled?

          Comment


          • Re: Logout code for invoice page

            Older 5x logged you out. The TK function was to log you back in. It is not needed now because 5x does not log you out (unless they changed that with PR8). Place an order in your store and test to see what the current behavior is.
            Bill Weiland - Emporium Plus http://www.emporiumplus.com/store.mvc
            Online Documentation http://www.emporiumplus.com/tk3/v3/doc.htm
            Question http://www.emporiumplus.com/mivamodu...vc?Screen=SPTS
            Facebook http://www.facebook.com/EmporiumPlus
            Twitter http://twitter.com/emporiumplus

            Comment


            • Re: Logout code for invoice page

              David tested this out with PR7 and PR8 and in both cases it does not log you out after a purchase. I don't know if this is a feature or a bug!

              Comment


              • Re: Logout code for invoice page

                I have TK setup in all my stores... Would there be an issue of some kind of overlapping, or a hiccup if its coded in and it is not needed?
                Dan

                Girlfriends Lingerie - "Keeping It Sexy!"
                Sexy Lingerie - Twitter - Facebook- Pinterest - YouTube

                Comment


                • Re: Logout code for invoice page

                  The question/concern was to be logged OUT after completing a transaction (at the INVC screen). I've encountered a site that is not logging out after the transaction is completed (at the INVC screen). I've added Bill's suggestion of AUTH,LOGO and it seems to be doing the trick. The question is - why did I have to add it?

                  Leslie
                  Leslie Kirk
                  Miva Certified Developer
                  Miva Merchant Specialist since 1997
                  Previously of Webs Your Way
                  (aka Leslie Nord leslienord)

                  Email me: [email protected]
                  www.lesliekirk.com

                  Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

                  Comment


                  • Re: Logout code for invoice page

                    Originally posted by Datagg View Post
                    I have TK setup in all my stores... Would there be an issue of some kind of overlapping, or a hiccup if its coded in and it is not needed?
                    I have no idea why i wrote this... As for Leslie, you stating the new versions are not logging out on there own? I know Bill has a setup to keep logged in (logbackin) with toolkit... Yet at this point in the game according to the docs wasn't needed after December 2009.
                    Last edited by Datagg; 08-15-11, 09:35 AM.
                    Dan

                    Girlfriends Lingerie - "Keeping It Sexy!"
                    Sexy Lingerie - Twitter - Facebook- Pinterest - YouTube

                    Comment


                    • Re: Logout code for invoice page

                      Leslie and Bill are correct. You are no longer automatically logged out after placing an order. Updating the action item from AUTH to AUTH,LOGO will restore the previous behavior of logging the customer out of their account.

                      Comment


                      • Re: Logout code for invoice page

                        Originally posted by Greg B View Post
                        Leslie and Bill are correct. You are no longer automatically logged out after placing an order. Updating the action item from AUTH to AUTH,LOGO will restore the previous behavior of logging the customer out of their account.
                        So that makes me wonder - has the AUTH,LOGO disappeared from other sites too?

                        Leslie
                        Leslie Kirk
                        Miva Certified Developer
                        Miva Merchant Specialist since 1997
                        Previously of Webs Your Way
                        (aka Leslie Nord leslienord)

                        Email me: [email protected]
                        www.lesliekirk.com

                        Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

                        Comment


                        • Wow - 8 years later. Thank goodness this post was here. I had to use the technique to "fix" this for a store that wants the user logged out after placing an order.

                          Leslie Kirk
                          Miva Certified Developer
                          Miva Merchant Specialist since 1997
                          Previously of Webs Your Way
                          (aka Leslie Nord leslienord)

                          Email me: [email protected]
                          www.lesliekirk.com

                          Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

                          Comment

                          Working...
                          X

                          This website uses cookies to identify visitors, track visitors to our website, store login session information and to remember your user preferences. By continuing to use this site you agree to our use of cookies. Learn More.

                          This website uses cookies. By continuing to use this site you agree to our use of cookies. Learn More.

                          Accept