[Skip to main content](#vessel-content)

#   Point system not working on HK 2.5.0

##

- **[ler@singmuiheng.com](/forum/user/3330-ler-singmuiheng-com "View ler@singmuiheng.com's Profile")**
- [![ler@singmuiheng.com's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/3330-ler-singmuiheng-com "View ler@singmuiheng.com's Profile") Topic Author
- [ Offline](/forum/user/3330-ler-singmuiheng-com)

Less More

- Posts: 575
- Thank you received: 11
-
-

11 years 1 month ago [\#212832](#212832) by [ler@singmuiheng.com](/forum/user/3330-ler-singmuiheng-com "View ler@singmuiheng.com's Profile")  *[Point system not working on HK 2.5.0](/forum/35-orders-management/879012-point-system-not-working-on-hk-2-5-0#212832 "-- HikaShop version -- : 2.5.0&#95;2015-08-30&#95;00-54-51 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.4.35 -- Error-message(debug-mod must be tuned on) -- : No error message shown  Please help to verify if this is a bug  Point earned and existing point are shown during checkout process  Both HK and AUP are not getting points after order changed to confirmed  Database order table do not have serialize point parameter")* was created by *[ler@singmuiheng.com](/forum/user/3330-ler-singmuiheng-com "View ler@singmuiheng.com's Profile")*

-- HikaShop version -- : 2.5.0_2015-08-30_00-54-51
-- Joomla version -- : 3.4.3
-- PHP version -- : 5.4.35
-- Error-message(debug-mod must be tuned on) -- : No error message shown

Please help to verify if this is a bug

Point earned and existing point are shown during checkout process

Both HK and AUP are not getting points after order changed to confirmed

Database order table do not have serialize point parameter

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL29yZGVycy1tYW5hZ2VtZW50Lzg3OTAxMi1wb2ludC1zeXN0ZW0tbm90LXdvcmtpbmctb24taGstMi01LTA/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

11 years 1 month ago [\#212843](#212843) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Point system not working on HK 2.5.0](/forum/35-orders-management/879012-point-system-not-working-on-hk-2-5-0#212843 "-- HikaShop version -- : 2.5.0&#95;2015-08-30&#95;00-54-51 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.4.35 -- Error-message(debug-mod must be tuned on) -- : No error message shown  Please help to verify if this is a bug  Point earned and existing point are shown during checkout process  Both HK and AUP are not getting points after order changed to confirmed  Database order table do not have serialize point parameter")*

Hi,

I'm sorry but I don't understand your explanation.
Can you please be more specific about the issue and your configuration ?

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL29yZGVycy1tYW5hZ2VtZW50Lzg3OTAxMi1wb2ludC1zeXN0ZW0tbm90LXdvcmtpbmctb24taGstMi01LTA/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ler@singmuiheng.com](/forum/user/3330-ler-singmuiheng-com "View ler@singmuiheng.com's Profile")**
- [![ler@singmuiheng.com's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/3330-ler-singmuiheng-com "View ler@singmuiheng.com's Profile") Topic Author
- [ Offline](/forum/user/3330-ler-singmuiheng-com)

Less More

- Posts: 575
- Thank you received: 11
-
-

11 years 1 month ago [\#212871](#212871) by [ler@singmuiheng.com](/forum/user/3330-ler-singmuiheng-com "View ler@singmuiheng.com's Profile")  Replied by *[ler@singmuiheng.com](/forum/user/3330-ler-singmuiheng-com "View ler@singmuiheng.com's Profile")* on topic *[Point system not working on HK 2.5.0](/forum/35-orders-management/879012-point-system-not-working-on-hk-2-5-0#212871 "-- HikaShop version -- : 2.5.0&#95;2015-08-30&#95;00-54-51 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.4.35 -- Error-message(debug-mod must be tuned on) -- : No error message shown  Please help to verify if this is a bug  Point earned and existing point are shown during checkout process  Both HK and AUP are not getting points after order changed to confirmed  Database order table do not have serialize point parameter")*

The problem is that the point are not genarated to both AUP and HK system

We install the latest version alphauserpoint released few days ago 2.0.2

We install your latest package and genarate the order_validation rule

We make new instance of plugin point rule for both hika point and aup point as screen shot below

We tested for all setting combination, price rate to point/ point /point for categories, but none of them work

Symptoms:
Points calculation correct at front end as screen shot 2

But in database, the point value are not store in order
O:8:"stdClass":1:{s:6:"prices";a:1:{s:3:"2@0";O:8:"stdClass":2:{s:14:"price_with_tax";s:7:"7.00000";s:3:"tax";d:0;}}}

- [ ![problem1.png](/forum/attachment/26199) ](/forum/attachment/26199 "problem1.png") [ ](/forum/attachment/26199?download=1 "problem1.png")
- [ ![problem2.png](/forum/attachment/26200) ](/forum/attachment/26200 "problem2.png") [ ](/forum/attachment/26200?download=1 "problem2.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL29yZGVycy1tYW5hZ2VtZW50Lzg3OTAxMi1wb2ludC1zeXN0ZW0tbm90LXdvcmtpbmctb24taGstMi01LTA/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

11 years 1 month ago [\#212927](#212927) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Point system not working on HK 2.5.0](/forum/35-orders-management/879012-point-system-not-working-on-hk-2-5-0#212927 "-- HikaShop version -- : 2.5.0&#95;2015-08-30&#95;00-54-51 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.4.35 -- Error-message(debug-mod must be tuned on) -- : No error message shown  Please help to verify if this is a bug  Point earned and existing point are shown during checkout process  Both HK and AUP are not getting points after order changed to confirmed  Database order table do not have serialize point parameter")*

Hi,
Code:

O:8:"stdClass":1:{s:6:"prices";a:1:{s:3:"2@0";O:8:"stdClass":2:{s:14:"price_with_tax";s:7:"7.00000";s:3:"tax";d:0;}}}

That data is the data from the column "order_shipping_params" ; the points are stored in the column "order_payment_params".
Like : Code:

O:8:"stdClass":2:{s:10:"userpoints";O:8:"stdClass":2:{s:10:"use_points";i:0;s:11:"earn_points";a:1:{s:2:"hk";d:11;}}}

We have to be sure that the data in the order is right stored ; then we will be able to investigate in the right direction.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL29yZGVycy1tYW5hZ2VtZW50Lzg3OTAxMi1wb2ludC1zeXN0ZW0tbm90LXdvcmtpbmctb24taGstMi01LTA/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ler@singmuiheng.com](/forum/user/3330-ler-singmuiheng-com "View ler@singmuiheng.com's Profile")**
- [![ler@singmuiheng.com's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/3330-ler-singmuiheng-com "View ler@singmuiheng.com's Profile") Topic Author
- [ Offline](/forum/user/3330-ler-singmuiheng-com)

Less More

- Posts: 575
- Thank you received: 11
-
-

11 years 1 month ago [\#212966](#212966) by [ler@singmuiheng.com](/forum/user/3330-ler-singmuiheng-com "View ler@singmuiheng.com's Profile")  Replied by *[ler@singmuiheng.com](/forum/user/3330-ler-singmuiheng-com "View ler@singmuiheng.com's Profile")* on topic *[Point system not working on HK 2.5.0](/forum/35-orders-management/879012-point-system-not-working-on-hk-2-5-0#212966 "-- HikaShop version -- : 2.5.0&#95;2015-08-30&#95;00-54-51 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.4.35 -- Error-message(debug-mod must be tuned on) -- : No error message shown  Please help to verify if this is a bug  Point earned and existing point are shown during checkout process  Both HK and AUP are not getting points after order changed to confirmed  Database order table do not have serialize point parameter")*

Hi Jerome

I checked the column order_payment_param but it is totally empty

I tried a backup copy of live site before update to 2.5 0831 on localhost and update to the latest version you provided, it is working fine

think smnthg is corrupted =="

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL29yZGVycy1tYW5hZ2VtZW50Lzg3OTAxMi1wb2ludC1zeXN0ZW0tbm90LXdvcmtpbmctb24taGstMi01LTA/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

11 years 1 month ago -  11 years 1 month ago [\#213002](#213002) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Point system not working on HK 2.5.0](/forum/35-orders-management/879012-point-system-not-working-on-hk-2-5-0#213002 "-- HikaShop version -- : 2.5.0&#95;2015-08-30&#95;00-54-51 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.4.35 -- Error-message(debug-mod must be tuned on) -- : No error message shown  Please help to verify if this is a bug  Point earned and existing point are shown during checkout process  Both HK and AUP are not getting points after order changed to confirmed  Database order table do not have serialize point parameter")*

Hi,

What is/was your previous version ?
It looks weird because the plugin has just two modifications during May and nothing after.

The last modification for the plugin is the code to re-create the missing AUP rule.
The other is the replacement of the line Code:

if(isset($user-&gt;user_points) &#124;&#124; in_array('user_points', array_keys(get_object_vars($user))))

Into Code:

if(isset($user-&gt;user_points) &#124;&#124; ($user != null &amp;&amp; in_array('user_points', array_keys(get_object_vars($user)))))

In order to avoid a warning.. But we can use Code:

if(isset($user-&gt;user_points) &#124;&#124; (!empty($user) &amp;&amp; is_object($user) &amp;&amp; in_array('user_points', array_keys(get_object_vars($user)))))

instead.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Last edit: 11 years 1 month ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL29yZGVycy1tYW5hZ2VtZW50Lzg3OTAxMi1wb2ludC1zeXN0ZW0tbm90LXdvcmtpbmctb24taGstMi01LTA/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ler@singmuiheng.com](/forum/user/3330-ler-singmuiheng-com "View ler@singmuiheng.com's Profile")**
- [![ler@singmuiheng.com's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/3330-ler-singmuiheng-com "View ler@singmuiheng.com's Profile") Topic Author
- [ Offline](/forum/user/3330-ler-singmuiheng-com)

Less More

- Posts: 575
- Thank you received: 11
-
-

11 years 1 month ago [\#213014](#213014) by [ler@singmuiheng.com](/forum/user/3330-ler-singmuiheng-com "View ler@singmuiheng.com's Profile")  Replied by *[ler@singmuiheng.com](/forum/user/3330-ler-singmuiheng-com "View ler@singmuiheng.com's Profile")* on topic *[Point system not working on HK 2.5.0](/forum/35-orders-management/879012-point-system-not-working-on-hk-2-5-0#213014 "-- HikaShop version -- : 2.5.0&#95;2015-08-30&#95;00-54-51 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.4.35 -- Error-message(debug-mod must be tuned on) -- : No error message shown  Please help to verify if this is a bug  Point earned and existing point are shown during checkout process  Both HK and AUP are not getting points after order changed to confirmed  Database order table do not have serialize point parameter")*

I also find weird ....
However unable to replicate the problem now as I restore live site back to 2.4 backup amd upgrade to latest 2.5 directly. This method work fine

The earlier problem was by the step 2.4 upgrade to 2.5 without aup plugin, and then upgrade to the latest 2.5

Mayb other user will encounter the problem in near future

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL29yZGVycy1tYW5hZ2VtZW50Lzg3OTAxMi1wb2ludC1zeXN0ZW0tbm90LXdvcmtpbmctb24taGstMi01LTA/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

11 years 1 month ago [\#213017](#213017) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Point system not working on HK 2.5.0](/forum/35-orders-management/879012-point-system-not-working-on-hk-2-5-0#213017 "-- HikaShop version -- : 2.5.0&#95;2015-08-30&#95;00-54-51 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.4.35 -- Error-message(debug-mod must be tuned on) -- : No error message shown  Please help to verify if this is a bug  Point earned and existing point are shown during checkout process  Both HK and AUP are not getting points after order changed to confirmed  Database order table do not have serialize point parameter")*

Hi,

Okay.
Let us know if the problem come again.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL29yZGVycy1tYW5hZ2VtZW50Lzg3OTAxMi1wb2ludC1zeXN0ZW0tbm90LXdvcmtpbmctb24taGstMi01LTA/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.254 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
