Announcement

Collapse
No announcement yet.

Bypass Checkout Page 2

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

    Bypass Checkout Page 2

    I've been struggling all afternoon with this and spent plenty of time searching forum and KB....

    I want to bypass Checkout Page 2. The aim of this site is not to take payment but to generate a booking email. Therefore, the cart records products and a confirmation email is generated at the end, but Checkout Page 2 is not needed.

    I would imagine that this hasn't been done before (after all, why use an ecommerce site and not take payments!!) but similar stuff has been done with streamlining the checkout. I just can't figure it out.

    Anyone got any pointers?

    thanks

    Andy
    Elysium:Online - Official Accredited SellerDeck Partner
    SellerDeck Design, Build, Hosting & Promotion
    Based in rural Northants

    #2
    There is a fix to autoredirect to psp that we used to have to add into the head area but is now there as standard in v9, you may be able to use a similar idea, where the payment method is selected and then submitted without any interaction. Without quite a bit of script work and thus redo each time, i don't think you will get rid of the page and probably need to focus on having the payment method selected and auto submitted instead.

    At least that is where i would start on the matter.

    Comment


      #3
      I can live with the payment method auto selected and then submitted without any interaction as I have selected "credit card details sent separately".....would it work with this? Where would I find this?


      thanks

      Andy
      Elysium:Online - Official Accredited SellerDeck Partner
      SellerDeck Design, Build, Hosting & Promotion
      Based in rural Northants

      Comment


        #4
        Its included in the head area of v9 now as standard, it basically stopped the page freezing until the user had clicked on 'next', effectively pressing the button for them (submitting the form). I'd have thought the same principle could be followed. You could even take it a step further and cut down all design on the checkout 2 page, so it loaded and submitted very quickly.

        Code:
        <actinic:block if="%28%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%27PSP%20Bounce%20Page%27%29%20AND%20%28%3cactinic%3avariable%20name%3d%22IsPSPTestMode%22%20%2f%3e%20%3d%3d%20false%29" >
        		<script language="JavaScript" type="text/javascript">
        		<!--
        		function onLoad()
        		{
        		document.formOCC.submit();
        		}
        		// -->
        		</script>
        </actinic:block>

        Comment


          #5
          mmmm... not sure I've done this right.....

          I've amended the condition to read :

          Code:
           
          ((<actinic:variable name="PageType" /> == 'PSP Bounce Page') AND (<actinic:variable name="IsPSPTestMode" /> == false)) OR
          ((<actinic:variable name="PageType" /> == 'SSL Bounce Page') AND (<actinic:variable name="IsSharedSSLForTestOnly" />  == false)) OR 
          (<actinic:variable name="PageType" /> == 'Checkout Page 2')
          i.e. I've just added PageType == 'Checkout Page 2' to the end of it so that the code inside the block runs..... but it doesn't.

          I know the page uploaded as I changed it so it displayed the page type (more a case of I forgot to take it out from testing locally!)

          I'll have a play.....
          Elysium:Online - Official Accredited SellerDeck Partner
          SellerDeck Design, Build, Hosting & Promotion
          Based in rural Northants

          Comment

          Working...
          X