• Welcome to KonaKart Community Forum. Please login or sign up.
 
December 22, 2024, 12:10:41 pm

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - markb

2
After looking at the product_image column values in the products table, I see that the path I provided is not correct, and that a subsequent upload is needed.

Can anyone point me to an example of how to do that using the Konakart API, please?
3
I checked the log file, too, and there is no error indicating why the product image was not uploaded.
4
While I am able to insert a new product programmatically using the AdminIf.insertProduct() method, there appear to be no product images uploaded, even though I am setting them with AdminProduct.setImage(fullPathToImage). When adding products from the konakartadmin Products page, there is the "Browse" button used to select the image file, and then the "Upload" button. Does this imply there is a secondary upload step needed when adding products programmatically? I have followed the example shown in apiexample file InsertProduct.java.
5
I think I see the problem now. In the CustomerRegistrationSubmitAction, the allowNoRegister setting is applied creating a customer with a random password, even if a new user is trying to register normally, instead of during checkout. It seems as if there should be a way to handle both situations of normal registration and during-checkout registration.
6
When I create a new customer using the "New customer?  Continue" button, and submit the form, the new entry in the customers database table shows customers_type=2, and not customers_type=0 (Registered) as I expected. As a result, I am unable to see the new customer in the Customers page in the admin application, and am also unable to log in as the newly created customer.

How do I configure or use the application such that a newly created customer defaults to a registered customer (type=0) instead of a customer registered during checkout as a guest (type=2)?
7
Programming of KonaKart / Sending email to admin user
September 02, 2013, 04:02:13 pm
What is the best way to send an email to the admin user from a JSP action class? I tried:

    CustomerIf adminUser = kkAppEng.getAdminUser();
    int adminId = adminUser.getId();         
    EmailOptionsIf options = new EmailOptions();
    options.setFromAddress("admin@mystore.com");
    options.setReplyToAddress("admin@mystore.com");
   kkAppEng.getEng().sendTemplateEmailToCustomer1(adminId, "Test -- Alert from Action", options);   

but the adminUser returned is null. I have an admin user defined in the konakartadmin application. Is there a better way to do tihs?
8
I posted this question under Feature Requests, but I think it's more appropriate as a programming question. I would like to implement a page which would allow customers to upload some files. It should be a simple task involving adding a new JSP or modifying an existing one. All that is needed is a form with some basic fields, a file chooser and a button for the upload action. Is there any recommended KK API for handling a file upload outside of the Digital Download product page?

Can you advise on a good starting point for such a feature?
9
Finally got it working. As it turns out the address for the seller has the full name of the state "MASSACHUSETTS", however PayPal was expected the 2-letter code "MA". Once I changed the state code, everything worked. PayPal's error message was correct and accurate after all. Still have payment zone set to "--none--".
10
I thought that is what I am doing already, but evidently something is still not right.

Using the KK demo, the admin app PayPal Module page offer PayPal Payment Zones  of only "none" or "Florida". If I wanted to experiment wit that setting, how would I get other choices to appear?
11
I am testing the PayPal module in my application. The module is in test mode. When I click on 'Confirm Order', I am properly redirected to the payment gateway. Finally when the www.sandbox.paypal.com/us/.... page it says:

"There's a problem with the shipping address you entered on the merchant site, and we've marked it in red. Please change the address, then continue checking out with PayPal.

Please review your shipping address

This merchant requires us to use the shipping address you entered on the merchant site, and there's a problem with that address. Please go back to the site to change the address."


The red highlighted bit is my city and state, which are correct, so I don't see the problem. In the admin app, I have:
-  'Paypal Payment Zone' = none.
- The callback URLs appear to be working.
- 'Test Mode' = true.

Any ideas why PayPal is complaining about the shipping address? Should the payment zone be set to something? If yes, then how do I set it? Thank you in advance for assisting.
12
Problem solved. Paypal module working now. Thanks very much indeed.
13
Surprised I didn't see this earlier. I downloaded the multi platform edition, because I am using Mac OSX. I followed the instructions and got the application running, however the module classes evidently cannot be loaded dynamically. How do I remedy this? Looks like a JAR or some classes are unavailable at run-time.


29-Jun 15:09:50 WARN  (?:loadModules:?) Class com.konakartadmin.modules.payment.authorizenet.Authorizenet not found but defined in file:/usr/local/apache-tomcat-7.0.23/webapps/konakartadmin/WEB-INF/classes/konakartadmin.properties
java.lang.ClassNotFoundException: com.konakartadmin.modules.payment.authorizenet.Authorizenet
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1688)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1533)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:171)
        at com.konakartadmin.bl.AdminModulesMgr.getModuleInstanceByName(Unknown Source)
        at com.konakartadmin.bl.AdminModulesMgr.loadModules(Unknown Source)
        at com.konakartadmin.bl.AdminModulesMgr.fetchModules(Unknown Source)
        at com.konakartadmin.bl.AdminModulesMgr.refreshConfigs(Unknown Source)
        at com.konakartadmin.bl.AdminModulesMgr.<init>(Unknown Source)
14
I am new to KonaKart. I downloaded the demo, configured it for MySQL, and have it running successfully with very little effort, which is great. Next I would like to test its usage of the Paypal module. I read the documentation for adding a new payment module, even though I am not adding a new one. I made sure that in konakartadmin.properties, the konakart.modules.payment property includes Paypal. However, I do not see Paypal in the admin application nor does it appear in the checkout page's payment method dropdown list.

Have I missed something? Please help.