Hi, I am creating promotion using AdminPromotion and setting setOrderTotalCode("ot_total_discount");
AdminPromotion promotion = new AdminPromotion(); promotion.setName(getName()); promotion.setActive(true); promotion.setOrderTotalCode("ot_total_discount");
On admin contol panel i can see the promotion created with correct promotion type but "Minimum Order Value", "Min total quantity" , "Min quantity for a product", "Discount Type" etc. field of Total Discount module are not set.
How can i give these value at the time of creating promotion and attach these to the promotion through API?
Hi!, Currently a bundle product can not be inside another bundle product...it gives me error "Recursion was detected. Ensure that a bundle product does not include itself as one of the bundled products ".
Can this problem be solved by giving CUSTOM_RELATIONSHIP_1 to the products. In admin panel; how do we set custom relationships(CUSTOM_RELATIONSHIP_1,CUSTOM_RELATIONSHIP_2 etc.) to products? In admin panel; how to add our own products_type? Where does it store in database? In which table do you store relation_type that is in products_to_products table?
Hi, I am using konakart v8.3. After switching stores, for example from store1 to store2 the session invalidates and previous logged in user need to log in again at checkout time. What is the best way to keep the session alive at the time of switching stores?
When i call http://localhost:8780/konakart/konakartjson I get the error WARN <?:doGet:?>Invalid JSONP passed to server Could you please tell me how to call kk Json request from any server,website etc? I followed the example provided in documentation but it doesn't work.
Also; In my web.xml i changed the servlet class to my own and override doGet(); inside this method i used the example code provided in java_api_examples folder; but when i call http://localhost:8080/konakart/konakartjson i have to manully convert the result to json using JSONObject library and use PrintWriter for output. Is this the correct way to call kk json engine? Do i need to convert objects to json manully?
Hi Guys, I have created a quartz scheduler job. It runs perfectly fine; but as soon as i call third party API call, i get InvocationTargetException - null and Unknown Source error. For example this simple Stripe code retrieves customer info. It works fine in konakart front end but not in konakart quartz scheduler.
com.stripe.Stripe.apiKey = "sk_XXXXXXXXXXXXXXXX"; com.stripe.model.Customer cu = com.stripe.model.Customer.retrieve("cus_YYYYYYYYYYY");
I get following error: WARN<?:execute:?> Problem executing getStripeCustomerInfo on com.konakartadmin.bl.StripePaymentsBatchMgr. Exception: exception message = <java.lang.reflect.InvocationTargetException> - null Exception stack trace= at sun.reflect.NativeMethodAccessorImpl.invoke0<NativeMethod> at sun.reflect.NativeMethodAccessorImpl.invoke0<NativeMethodAccessorImpl.java:57> at sun.reflect.DelegatingMethodAccessorImpl.invoke<DelegatingMethodAccessorImpl.java:43> at java.lang.reflect.Method.invoke<Method.java:606> at com.konakartadmin.bl.AdminExecuteMgr.execute<Unknown Source> at com.konakartadmin.bl.KKAdmin.execute<Unknown Source> at com.konakartadmin.bl.ExecuteBatchEE.execute<Unknown Source> at org.quartz.core.JobRunShell.run<JobRunShell.java:202> at org.quartz.core.simpl.SimpleThreadPool$WorkerThread.run<SimpleThreadPool.java:573> Exception Cause = <br /> at com.konakartadmin.bl.StripePaymentsBatchMgr.getStripeCustomerInfo<Unknown Source>
I have been trying to solve it for two days but no luck