Announcement

Collapse
No announcement yet.

Transferring to the PSP Site

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

    Transferring to the PSP Site

    Hi,

    During our "test mode" of using Secure Trading, when the user reaches the page prior to being transferred to ST's site it would sit there until "Next" was pressed.

    Now, for some reason, it simply directs straight to it.

    Looking at the source code of the test site and the live one I see that the live one has the following JS placed at the top of the page:

    <SCRIPT LANGUAGE="JavaScript">
    <!--
    function onLoad()
    {
    document.formOCC.submit();
    }
    // -->
    </SCRIPT>


    ...which of course means it will submit the form with the <Next> button on it straight away.

    Is there any way to get rid of this? I've hunted through the knowledge base and these forums but to no avail.

    It's somewhat of an issue, as I feel customers should be told they will be transferred off-site, and unless they're quick they will miss it.

    #2
    Hi Mark,

    I believe that java script is brought in through OnLoad="NETQUOTEVAR:ONLOAD located within the <body> tag in the primary checkout page layout.

    Go to Design | Options | Layouts and click Edit for the Checkout Pages Layout. Search for and remove OnLoad="NETQUOTEVAR:ONLOAD.

    I hope this helps
    Regards,

    Toby Blanchard

    Comment


      #3
      Toby... you're a star! I've been dithering around with that one for ages!

      Thanks,
      Mark.

      Comment

      Working...
      X