KonaKart Community Forum

Installation / Configuration => Programming of KonaKart => Topic started by: sdabet on October 16, 2014, 03:36:22 pm

Title: Update customer's reward points
Post by: sdabet on October 16, 2014, 03:36:22 pm
I have enabled Reward Points in my application (following http://www.konakart.com/docs/RewardPoints.html).

When making an order I can successfully set redeem points and see the number of points awarded (in the order totals), but the amount of points of the customer is never updated, even when the order is actually created in Konakart.

When is this update supposed to happen ? Is it automatically managed by Konakart or must it be done manually ?
Title: Re: Update customer's reward points
Post by: julie on October 16, 2014, 03:52:56 pm
We manage them in the manageRewardPoints() method in the OrderIntegrationMgr. You may need to modify the method if you have order states that are different to the default ones.
Title: Re: Update customer's reward points
Post by: sdabet on October 16, 2014, 04:03:12 pm
Thank you julie. In fact I just noticed that redeemed points are correctly deleted but the issue is with reward points which are not granted.
Title: Re: Update customer's reward points
Post by: sdabet on October 16, 2014, 04:14:42 pm
Ok, I understand now that points are actually awarded when the order moves into "Payment Received" status.

Thank you for the help.