Announcement

Collapse
No announcement yet.

Pls help! - Strange Problem with Checkout Now buttton

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

    Pls help! - Strange Problem with Checkout Now buttton

    Hi,

    This is driving us a little bonkers - We are developing a site at http://www.WinnieandFriends.co.uk. (It is almost ready to launch, just need to integrate WorldPay). Here's the problem..

    After adding anything to a cart etc. if you click the Checkout Now .gif button it just times out/bombs, but if you click on the Checkout link in the main header of the site, then it works! Here's the really weird thing, if you double click the .gif button, then it works as well?! It is only with the standard single click that it bombs out..

    WorldPay will not verify our site until this is fixed - I hope somebody can help

    Your appreciatively,


    Jason & Ashley.

    #2
    a single click works fine for me - that is using the add to cart button withthe product

    Comment


      #3
      They're using Quantity on Confirmation Page. When you get to that page none of the image buttons (Confirm, Checkout Now, Cancel) work. This is using Internet Explorer.

      Weirdly, they DO work using Firefox.

      I had a look at the page source and noticed that the relevant FORM is

      <FORM METHOD=POST ACTION="/cgi-bin/ca003368.pl" >

      Now I'd have expected

      <FORM METHOD=POST ACTION="http://www.winnieandfriends.co.uk/cgi-bin/ca003368.pl" >

      so this could be a Network Setup problem.

      Best post your Network Settings. Go to Advanced / Network Setup and do Export. Then post that textfile here (hide all passwords first).
      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment


        #4
        Hi Norman,

        Thank you very much for replying and for your advice. I am attaching the network settings to this post...look fwd to hearing from you..


        Best regards,


        Jason.
        Attached Files

        Comment


          #5
          Sorry. I won't open unknown .DOC's. Please just copy and paste the text in.
          Norman - www.drillpine.biz
          Edinburgh, U K / Bitez, Turkey

          Comment


            #6
            Hi Norman,

            details as follows..

            HTTPPROXYMODE 0
            HTTPPROXYADDRESS
            HTTPPROXYPORT 80
            HTTPPROXYUSER
            HTTPPROXYPASSWORD
            FTPPROXYMODE 0
            FTPPROXYADDRESS
            FTPPROXYPORT 21
            FTPPROXYUSER
            FTPPROXYPASSWORD
            SCRIPTID 3368
            SCRIPTEXT .pl
            SMTPHOST localhost
            WEBSITEURL http://www.winnieandfriends.co.uk/
            IGNOREPASSIVEERRORS false
            USERELATIVECGIURLS true
            PATHTOPERL /usr/bin/perl
            SMTPAUTHREQUIRED true
            SMTPUSERNAME winnie
            SMTPPASSWORD
            CATALOGURL http://www.winnieandfriends.co.uk/acatalog/
            CGIBINURL http://www.winnieandfriends.co.uk/cgi-bin/
            PATHFROMCGITOCATALOG ./acatalog/
            CODEBASE ./
            FTPHOST 82.1.9.38
            FTPUSERNAME winnweb
            FTPPASSWORD
            PATHTOCGIBIN /winnweb/www/cgi-bin/
            USEPASSIVEFTP true
            FTPPATHFROMCGITOCATALOG /winnweb/www/acatalog/

            Hope this helps!

            Thanks again,

            Jason.

            Comment


              #7
              These

              CATALOGURL http://www.winnieandfriends.co.uk/acatalog/
              CGIBINURL http://www.winnieandfriends.co.uk/cgi-bin/
              PATHFROMCGITOCATALOG ./acatalog/

              seem to be contradictory. The first 2 suggest that cgi-bin and acatalog are separate directories off the same root. The third line places the acatalog directory inside cgi-bin.

              Assuming you are on a Unix / Linux server I'd expect that line to be

              PATHFROMCGITOCATALOG ../acatalog/
              Norman - www.drillpine.biz
              Edinburgh, U K / Bitez, Turkey

              Comment


                #8
                Hi Norman,

                It's on a Windows 2000 Server running Active Perl - does that make a difference? When I change the settings of the path from CGI bin it all falls apart and won't do anything!

                As another addendum, the Checkout Button works fine if there is already something in the Cart - even weirder!!

                In the Standard Settings part, I left the path from CGI to catalog blank (as it says leave blank unless stated otherwise). I removed the requirement for SMTP authentication and did a test which was 100% successful and resulted in receiving a confirmation mail, which is good. Trouble is, I don't think any of this will effect the checkout button problem and the updating of the site took ages!?

                Thing is regards the SSL area, at this point with Worldpay running in test mode, shoud I have SSL set to 'ON' and try the test again - or do I need WorldPay to do their thing before I try this (as they are supplying the Secure Area).?

                When I put SSL on and tested it, I got...
                The test script failed to execute on the web server. The error could be caused by several things. Check the path to the Perl shell, the CGI script extension, the path to CGI-BIN, and the CGI-BIN URL. This error could also occur if your web site is out of disk space or your web server is not configured to accept POSTs to CGI scripts. preceded by Connection could not be established.

                The latest Network Settings after this feedback etc. are as follows.

                HTTPPROXYMODE 0
                HTTPPROXYADDRESS
                HTTPPROXYPORT 80
                HTTPPROXYUSER
                HTTPPROXYPASSWORD
                FTPPROXYMODE 0
                FTPPROXYADDRESS
                FTPPROXYPORT 21
                FTPPROXYUSER
                FTPPROXYPASSWORD
                SCRIPTID 3368
                SCRIPTEXT .pl
                SMTPHOST localhost
                WEBSITEURL http://www.winnieandfriends.co.uk/
                IGNOREPASSIVEERRORS false
                USERELATIVECGIURLS false
                PATHTOPERL /usr/bin/perl
                SMTPAUTHREQUIRED false
                SMTPUSERNAME winnie
                SMTPPASSWORD
                SSLCATALOGURL https://www.winnieandfriends.co.uk/acatalog/
                SSLCGIBINURL https://www.winnieandfriends.co.uk/cgi-bin/
                SSLPATHFROMCGITOCATALOG ./acatalog/
                SSLCODEBASE ./
                SSLFTPHOST 82.1.9.38
                SSLFTPUSERNAME winnweb
                SSLFTPPASSWORD winn13579
                SSLPATHTOCGIBIN /winnweb/www/cgi-bin/
                SSLUSEPASSIVEFTP false
                CATALOGURL http://www.winnieandfriends.co.uk/acatalog/
                CGIBINURL http://www.winnieandfriends.co.uk/cgi-bin/
                PATHFROMCGITOCATALOG ./acatalog/
                CODEBASE ./
                FTPHOST 82.1.9.38
                FTPUSERNAME winnweb
                FTPPASSWORD
                PATHTOCGIBIN /winnweb/www/cgi-bin/
                USEPASSIVEFTP false
                FTPPATHFROMCGITOCATALOG /winnweb/www/acatalog/


                I hope this is OK Norman - don't want to take advantage of you! Where's Actinic when you need them!???

                Cheers


                Jason.

                Comment


                  #9
                  Hi Again,

                  Referring to what you said earlier in your original post, I looked at the directory structure under FTP. It seems what you said is relevent because the main root list it
                  - acatalog
                  - aspnet_client
                  - cgi-bin
                  - images
                  then the index.html file.

                  BUT, inside the cgi-bin directory, is

                  - acatalog (again!)
                  and then all the .pl scripts.

                  The acatalog has basically the same files in all over again? Is that right?

                  Finally, when I click to Cancel any transaction on the live site, it errors out.

                  Shame you're not local Norm - need a local expert!

                  Jason.

                  Comment


                    #10
                    Sorry, but I won't touch a Windows server so I have no experience of such beasts.

                    However having two acatalog directories is wrong. I think you should be using ../acatalog/ not ./acatalog/ but that may be wrong on Windows.
                    Norman - www.drillpine.biz
                    Edinburgh, U K / Bitez, Turkey

                    Comment


                      #11
                      Hi there

                      FTPPATHFROMCGITOCATALOG /winnweb/www/acatalog/
                      Try changing this to ../acatalog/

                      With windows server; the following should be set for path to cgi-bin

                      PATHFROMCGITOCATALOG ./acatalog/
                      FTPPATHFROMCGITOCATALOG ../acatalog/

                      Also we have a windows 2000 setup guide in our hosting section. Here is the link: http://www.actinic.co.uk/hosting/
                      You might want to check it out and check with your server.

                      Kind Regards
                      Nadeem Rasool
                      SellerDeck Development

                      Comment


                        #12
                        Hi,

                        This site is hosted on a windows Server using Active Perl - as soon as we change it to ../acatalog/ we get

                        The directory specified as the path from the CGI-BIN to the acatalog directory does not exist on the web server. Check the path. Also see the on-line help for "Path from FTP server to Catalog".


                        Jason.

                        Comment


                          #13
                          Hi there

                          So it cannot find:
                          PATHTOCGIBIN /winnweb/www/cgi-bin/
                          When you first log into the site, via ftp, what is the first folder you see, www or winnweb? If the former, then change the path to read
                          PATHTOCGIBIN www/cgi-bin/
                          Kind Regards
                          Nadeem Rasool
                          SellerDeck Development

                          Comment


                            #14
                            Checkout Now button not working addition

                            Just as an update to this issue, in case anyone is searching the forum for answers.
                            I have experienced the same issue where clicking on the "Checkout Now" button gives no action in internet explorer however works correctly in firefox,mozilla.

                            I discovered there was a problem in the Act_ShoppingCart.html template in that the NAME value of each button was not correct.
                            e.g. the NAME value for the checkout button was
                            NAME="ACTION"
                            when it should have been
                            NAME="ACTION_BUYNOW"

                            Amending the buttons NAME fields to the correct value resolved this issue.
                            Fergus
                            Fergus Weir - teclan ltd
                            Ecommerce Digital Marketing

                            SellerDeck Responsive Web Design

                            SellerDeck Hosting
                            SellerDeck Digital Marketing

                            Comment


                              #15
                              Hi Fergus

                              Thankyou for letting us know , Very useful information

                              Kind Regards
                              Nadeem Rasool
                              SellerDeck Development

                              Comment

                              Working...
                              X