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

Order Statuses

Started by juanmars, June 05, 2014, 04:52:42 pm

Previous topic - Next topic

juanmars

Is there an available status diagram for the orders or anything that might describe the different statuses of an order?

ryan

You have full control over the order statuses of a KonaKart order. They are stored in a database table and may be managed through the admin app under Localizations >> Order Statuses. Although during installation we populate the database with a typical set of statuses, it's normal for our customers to add others and modify them to match their specific workflow.

In our demo storefront application, an order when first saved is put into the Pending state or the Waiting for Payment state . You can see how these are set in CheckoutConfirmationSubmitAction.java. Then an order may enter the Payment Received or Payment Declined State (normally set by the payment gateway module). Once payment has been received it typically goes to the Partially Delivered or Delivered state. OTB there are also states for managing refunds.

The Order Integration Mgr ( http://www.konakart.com/docs/OrderStatusChangeActions.html  ) or AdminOrderIntegrationMgr are the classes where you can add your own code to interface with external systems whenever the state of an order changes or when it is saved .  Once the order management has moved outside of KonaKart (e.g. an ERP system) the external system should use the KK APIs to call back into KonaKart to keep the state updated so that the customer always sees the latest information after logging in to the storefront application.