• Welcome to KonaKart Community Forum. Please login or sign up.
 
May 04, 2024, 08:48:38 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.

Topics - despot

1
Hi,

I am using the SOAP interface of the community version 7.2.0.2 (that resembles http://www.konakart.com/javadoc/server/com/konakart/app/KKWSEng.html).

1. In the method signature createAndSaveOrder(java.lang.String emailAddr, java.lang.String password, CustomerRegistrationIf custReg, BasketIf[] basketItemArray, java.lang.String shippingModule, java.lang.String paymentModule, int languageId) what are the arguments "String shippingModule" "String paymentModule"?
   1.1 I can see a "String moduleCode" member in ShippingQuote class. Is that what needs to be set for "String shippingModule" in the createAndSaveOrder method?
   1.2 I also can't see any "module" related member in PaymentDetails class (no "String moduleCode" member like in ShippingQuote class).  Or do we need to provide the members "code" from both ShippingQuote and PaymentDetails for the "String shippingModule" and "String paymentModule" arguments?
   1.3 Also, if I don't provide CustomerRegistration object, in case when the customer is already logged in, it seems I can't get the password from anywhere to provide it in the createAndSaveOrder (and fix the exception "java.rmi.RemoteException: The String parameter called password must be given a value. It cannot be set to null or be left empty."). I tried the getCustomer(sessionId) method but it doesn't return the password.

Kind Regards,
despot
2
Hi,

I am using the SOAP interface of the community version 7.2.0.2 (that resembles http://www.konakart.com/javadoc/server/com/konakart/app/KKWSEng.html).
When I use saveOrder(java.lang.String sessionId, OrderIf order, int languageId) with an order argument that has orderTotals, shippingQuote, paymentDetails set, we get the exception "java.rmi.RemoteException: The order must contain at least one object in the status trail".
- If I place "orderStatusId = Integer.MIN_VALUE;", than I have -2147483648 set in the table. When using createAndSaveOrder I get 1 for orderStatusId.
- If I place "orderStatusId = Integer.MIN_VALUE;", than I again have no comment set in the comments column. When using createAndSaveOrder I have "Waiting for Payment" by default.
Can someone from Konakart make the saveOrder not request at least one status trail object (make the saveOrder behavior, regarding statusTrail, aligned with createAndSaveOrder)?

Kind Regards,
despot