uShop English (U.S.) for 179!

uStorekeeper English (U.S.) for 149!

 Products
       uTest
       uReserve
       uShop
       uStorekeeper
       uGolf
       uDirectory
       uSignIn
 Tech Support
       Support Policy
       Knowledge Base
            uTest
            uReserve
            uShop
            uStorekeeper
            uGolf
            uDirectory
            uSignIn
       Documentation
       Reference Sites
 Legal
       Software Piracy
       Legal Notices
       Privacy Policy
       Licensing
 Miscellaneous
       Reseller Info
       Contact Us
       Site Map
Problems with Orders

Knowledge Base Lobby : uShop Support Conference : Problems with trying to Place Orders
Oct-20-17 02:56 AM EST
Original Message
Problems with Orders
Author Mark on 06-02-2003 at 17:05 (EST)
I’m having a problem with a form being displayed in Internet Explorer. From my “Placing your Order” page, I activate the “Begin the Order Process. If my browser is IE the display_cart2.html form is called. Up to that time everything is OK, as I get the “Please wait… screen momentarily, and then the page displaying my order is displayed. The problem comes in when and if I click on the “<
Does the BrowserType have anything to do with this? Because I had modified the display_cart2.html form I thought I had caused the problem, so I tried to ensure that both forms, display_cart and display_cart2 were identical, but I still got the same results Any suggestions?

Website www.personal-foul.com

function CheckBrowserType()
{
if (navigator.appName == "Microsoft Internet Explorer")
{
document.uShopJSI.setBrowserType("1");
E-MAIL AUTHOR | TABLE OF CONTENTS

Table Of Contents
  RE: Problems with Orders Bill Weiner, 2003-06-03 05:51:13 (1)
            Problems with Orders Mark, 2003-06-03 07:59:41 (2)
                 RE: Problems with Orders Bill Weiner, 2003-06-04 06:51:31 (3)
                      Problems with Orders Mark, 2003-06-04 14:46:04 (4)

Messages In This Discussion
         1. RE: Problems with Orders
        Author Bill Weiner on 06-03-2003 at 05:51 (EST)
It looks like part of your posting didn't show up properly. You were saying that "The problem comes in when and if you click on the ??" Is that the "continue" button you are referring to? And what is the exact error you are seeing?

Here are some suggestions/things to check that will help:

1) Most likely if the "Please Wait..." goes away and the shopping cart is displayed on the "display_cart" page, then you are not looking at a browser problem. To confirm this, you can always try a test order on our demo site (http://www.uburst.com/uShop/demo/index.html) ... as we know that demo is configured properly and will work with all supported browsers.

2) If you are seeing an error after pressing the "Continue" button "display_cart" page, the error is usually due to one of two things:

- 1. You get a "Not Found" error because the URL of your uShop CGI script was not properly specified in the "script_url" parameter of your uShopOrderButton applet.

- 2. You get a "Server Error" because of a configuration problem with your uShop CGI script.

So make sure that you properly installed the uShop CGI script... and that you can successfully login to the uShop Control Panel and configure the General Settings.... And make sure that the "script_url" of your uShopOrderButton applet properly points to the URL of your installed uShop CGI script.
TABLE OF CONTENTS
                 2. Problems with Orders
                Author Mark on 06-03-2003 at 07:59 (EST)
Dear Bill,

It's the Back button that I'm having a problem with. The continue button works fine and I can process the orders....all of that is fine. It is ONLY when I clikd the BACK button that takes me back to the Please wait page then continues on to the order again. It wonlt take me back to the Begin the Order Process. However, when I use the BACK button with Netscape or MSN I don't have that problem.
TABLE OF CONTENTS
                         3. RE: Problems with Orders
                        Author Bill Weiner on 06-04-2003 at 06:51 (EST)
Ahh, I see.

To give you a little background.... The JavaScript associated with that BACK button has to be based on the Browser type.... because Netscape browsers need use one version of the back() command while Internet Explorer browsers need to use a different version of the back() command. There is no way for Java Applets to directly determine what type of browser is being used, so uShop used to be able to determine the browser type by checking the Java Virtual Machine (JVM) "Vender". If the JVM "Vender" was "Sun Microsystems", then the browser was Netscape. If the JVM "Vender" was "Microsoft", then the browser was Internet Explorer. Now that both Netscape and Internet Explorer browsers use the "Sun Microsystems" Java plug-in, that method to determine the browser type is no longer guaranteed. Instead, we had to add a new function to uShop's JavaScript API to specificially set the browser type via JavaScript.

So long story short, you'll need to use uShop's JavaScript API to actually set the browser type.

This only has to be done once for each user session, so you would usually add the JavaScript to do this on the store's main "Entry" page.... or more often.... on the same page you put the uShopOrderButton applet.

Due to formatting problems in this forum, I can't POST the exact HTML in this forum, but you can see exactly how we do it on the "Place Order" page of our online Demo:

http://www.uburst.com/uShop/demo/index.html

Specifically, look at the "Place Order" page:

http://www.uburst.com/uShop/demo/demo_order.html

Note these 3 changes that handle setting the browser type:

STEP 1: On the BODY line of the HTML page, add the following "onLoad" call:

onLoad="CheckBrowserType();"

STEP 2: Somewhere on the HTML page (typically near the bottom) add the "CheckBrowserType()" function... as shown on the example page.

STEP 3: Also on the HTML page (again typically near the bottom) add the uShopJSI applet... as shown on the example page.

These three changes will ensure that the "Browser Type" is properly detected and thus make sure that "Back" button works for all browsers.
TABLE OF CONTENTS
                                 4. Problems with Orders
                                Author Mark on 06-04-2003 at 14:46 (EST)
Bill,

Thank you for your assistance. I figured it had to do with the browser types, but couldn't figure out how to correct this problem. Thanks again.
TABLE OF CONTENTS

© 2003 Microburst Technologies, Inc.