• Welcome to KonaKart Community Forum. Please login or sign up.
 

Problem with checkout

Started by ady1981, May 06, 2010, 12:03:10 pm

Previous topic - Next topic

ady1981

We met some problem with checkout.

When new user comes to site, choose an item to buy and click "Checkout" from /EditCartSubmit.do - nothing happens.

It was the error previously:

06-May 14:00:39 WARN  (ShowCartItemsAction.java:createTempOrder:219) A temporary order could not be created
com.konakart.app.KKException: A default customer cannot be found. You must create one using the Admin App.

But when I created the default customer - the problem persists. With no error messages :(.

Of course this problem does not exist in default demo e-store (in English locale), so the problem is in some configuration.
I have no idea what config may be wrong...

Any ideas?


Thanks,

-Andrey

ady1981

1) The "Store Configuration" in Admin App has following properties:

Display Coupon Entry Field: false
   
Enables One Page Checkout: false
   
Enables Checkout Without Registration: false
   
Enable Wish List functionality: false   

2) The default locale is ru_RU.

trevor

Do you have a set of Russian Order Status records ?

greg

do you see any exceptions in your tomcat log?

ady1981

Quote from: trevor on May 06, 2010, 12:12:53 pm
Do you have a set of Russian Order Status records ?

Yes, I do (I simply copied the corresponding English text into Russian fields).

ady1981

Quote from: greg on May 06, 2010, 12:31:43 pm
do you see any exceptions in your tomcat log?

No, I don't.

ady1981

I tried to debug and saw that everything should work  ???
1) ShowCartItems.do shows EditCartBody.jsp, which for the onClick event submit to /EditCartSubmit.do (and really try to set up document.EditCartForm.goToCheckout.value="true" (if document.EditCartForm.goToCheckout.value exists, by the way...))
1) EditCartSubmit.do comes to EditCartSubmitAction.java do where:
1.1) read
EditCartForm ecf = (EditCartForm) form;
1.2) but
ecf.getGoToCheckout().equalsIgnoreCase("true") === false, since ecf.getGoToCheckout() is just empty String.

What other conditions should be satisfied?..


ady1981

I enable the setting:

Enables Checkout Without Registration: true

and now the checkout button work ok.

Thanks.

ady1981

Ups... I'm afraid, the problem still exists (the success was very temporary).
So, the button (from EditCartBody.jsp)

<a style="float:right" onmouseover="setGoToCheckout()" onclick="javascript:document.forms['form1'].submit();" class="button"><span><bean:message key="common.checkout"/></span></a>

does not work (with the current configuration of the site).