Announcement

Collapse
No announcement yet.

Problem with Customer Checking Out

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

    Problem with Customer Checking Out

    Problem with customer paying on credit card.

    Customer goes to CheckOut Page
    They enter their name and address and Click on NEXT
    (only the invoice details were showing. Have to Check box to show Delivery Address)
    Select Credit Card Payment and Click on CONFIRM ORDER
    This produces Error Message - A General Script Error Occurred and Error: The input is NULL
    If I then Click on BACK
    and then Click on NEXT
    and then Click in CONFIRM ORDER I am then taken to ActinicPay to enter credit card details.

    I have created a new site and then copied actinicextras.js to the folder on my shop to esnure this is correct. Still the same. In all instances I have done a Full Refresh. I have also given the program a different CGI ID script number

    It appears that the Delivery Address box is not being filled in.
    Whether the little box is left UnChecked or when you fill in Delivery Address the same error appears.
    However if you go back to the page where you put in the Invoice Address and, or, Delivery Address and then Click to go back to the Select Payment method you can then go onto ActinicPay to make credit card payment.

    This is very puzzling as the web site was working. I have also uploaded a SnapShot to a different web address and with the same result. This also has a different IP address. Yet on this IP address I have another Actinic Shop which works fine.
    Robin Antill - Fan of Actinic.https://community.sellerdeck.com/cor...lies/smile.gif My Site 1st Choice Leisure Buildings

    #2
    You've mention that you have more than one site. What's the URL of a problem one?
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      http://www.leisurebuildings.com
      Robin Antill - Fan of Actinic.https://community.sellerdeck.com/cor...lies/smile.gif My Site 1st Choice Leisure Buildings

      Comment


        #4
        I just tried with Internet Explorer 8 and it worked fine.
        The error occurs with Firefox 18.0.2 and Chrome
        Robin Antill - Fan of Actinic.https://community.sellerdeck.com/cor...lies/smile.gif My Site 1st Choice Leisure Buildings

        Comment


          #5
          FF 18.0.2 worked for me.... please cancel my order though!


          Update
          Spoke too soon - I hadn't selected debit or credit card payment, failed at that point
          The Pretty Dress Company

          Comment


            #6
            Could you have this http://community.sellerdeck.com/showthread.php?t=51182 problem?
            Norman - www.drillpine.biz
            Edinburgh, U K / Bitez, Turkey

            Comment


              #7
              I tried that and it does not appear to be the problem. I add in the following code:-
              if (!elemPSPForm)
              {
              alert('Chrome / Safari quirk');
              return;
              }

              I did not get the alert message "Chrome / Safari quirk"

              so that appears fine.

              Also there are no changes to the actinicextras.js factory template. I created a new shop and then copied the actinicextras.js file over, which turned out to be the same as I already had.
              Robin Antill - Fan of Actinic.https://community.sellerdeck.com/cor...lies/smile.gif My Site 1st Choice Leisure Buildings

              Comment


                #8
                I just tried your site (using latest Firefox) and the Chrome / Safari quirk message popped up.

                Same message on Chrome and Safari.
                Norman - www.drillpine.biz
                Edinburgh, U K / Bitez, Turkey

                Comment


                  #9
                  Yes, that just happened to me as well (after clearing the cache on my computer)
                  In that post is has the following:-
                  // Get the PSP form
                  //
                  var elemPSPForm = document.getElementById("idPSPForm");
                  if (!elemPSPForm)
                  {
                  return;
                  }
                  //
                  // Submit the PSP form
                  //
                  elemPSPForm.submit();

                  This is what is in my actinicextras.js file

                  // Get the PSP form
                  //
                  var elemPSPForm = document.getElementById("idPSPForm");
                  if (!elemPSPForm)
                  {
                  alert('Chrome / Safari quirk');
                  return;
                  }
                  //
                  // Submit the PSP form
                  //
                  elemPSPForm.submit();

                  This seems to be correct.
                  Robin Antill - Fan of Actinic.https://community.sellerdeck.com/cor...lies/smile.gif My Site 1st Choice Leisure Buildings

                  Comment


                    #10
                    It looks like you've got the dodgy DOM problem. After a quick look at the generated source code of a page ( I used http://www.leisurebuildings.com/acat...ch-google.html as it's not got too much on it), I see several

                    </input> and </img> tags. AFAIK, there are no such beasts so you may have problems there.

                    Also, I'm not sure if the FIELDSET tags you're using are correct. You're using them around a TABLE but I believe they're only intended for a FORM.
                    Norman - www.drillpine.biz
                    Edinburgh, U K / Bitez, Turkey

                    Comment


                      #11
                      Hi Norman,

                      Thanks for that.

                      Your suggestion put me on the right lines and that was my code.

                      What I did was to create a new site.
                      I then swapped over to my shop site and imported the design from the clean default site.
                      I uploaded this and the shopping trolley worked fine.

                      I then re instated my original shop and then created a new page template. From this I removed all code with the exception of the shopping trolley and it worked OK.

                      I then added in the Header, Left Nav, Right Nav and Footer one at a time until the shop stopped working. This turned out to be the Footer. I then worked through the code removing a bit at the time until the shop started working again.

                      Thanks again for your help. It's really appreciated.
                      Robin
                      Robin Antill - Fan of Actinic.https://community.sellerdeck.com/cor...lies/smile.gif My Site 1st Choice Leisure Buildings

                      Comment


                        #12
                        Hi, Robin

                        Yay! It may help others with the same problem if you're able to tell us what code was the culprit.
                        Norman - www.drillpine.biz
                        Edinburgh, U K / Bitez, Turkey

                        Comment


                          #13
                          It was the the code which I used for displaying the page.

                          What I had done was to put some of javascript at the bottom of all pages to make the pages load quicker, which they did.

                          Not all the javascript caused this problem only the code for the addthis.com tracking website as follows:-

                          <script type="text/javascript">var addthis_config = {"data_track_addressbar":true};</script>
                          <script type="text/javascript" src="http://s7.addthis.com/js/300/addthis_widget.js#pubid=robinantill"></script>

                          Even putting that code anywhere on the Checkout pages caused the script problem.

                          Although it worked on Internet Explorer 8 with the code in place.
                          Robin Antill - Fan of Actinic.https://community.sellerdeck.com/cor...lies/smile.gif My Site 1st Choice Leisure Buildings

                          Comment

                          Working...
                          X