Returns user points on order cancelled/refunded

  • Posts: 23
  • Thank you received: 0
9 years 3 weeks ago #219394

-- HikaShop version -- : 2.6.0

Hi, how can I set the plugin to retruns the points used to pay on order cancelled/refunded ?

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
9 years 3 weeks ago #219411

Hi,

In the plugin "payment / user points" method, you can activate the setting "Give back points on cancellation".
For the order created when that setting is enable, it will set a specific "order product" in the database.

Then, the plugin "hikashop / user_points" will detect the order status modification and will give or take back the points depending the order status.
The plugin will use the HikaShop setting "invoice order statuses" in order to know which order statuses are valid (and the other statuses will be consider as invalid, like "cancelled" or "refunded").

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 23
  • Thank you received: 0
9 years 2 weeks ago #220038

Thanks, exactly what i should config? And how ?

Please Log in or Create an account to join the conversation.

  • Posts: 23
  • Thank you received: 0
9 years 2 weeks ago #220121

i setted "invoice order status" to order confirmed, but nothing changed, if I switch the order status from confirmed to cancelled or refundend, the script doesn't give the points back, why ?

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
9 years 2 weeks ago #220127

Hi,

Please provide screenshots for your plugin configuration & hikashop configuration & "hikashop / user points" joomla plugin configuration.

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 23
  • Thank you received: 0
9 years 6 days ago #221242

HI, which other settings do you need to see?

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
9 years 4 days ago #221442

Hi,

Please confirm that the order that you're trying to cancel right have a discount code with the format "POINTS_............."

I really suggest you to use the "user points" payment plugin in the "virtual coupon" mode and to add in the checkout workflow the special "user points" block.
If you do not have that block available while configuring your checkout workflow, please edit the plugin "hikashop / userpoints" in the Joomla plugin manager in order to activate that feature.

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 23
  • Thank you received: 0
9 years 7 hours ago #221995

ok, using the virtual coupons the poins refund seems to work, but the plugin no more shows the payments switch , always use the points. Why ?

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
8 years 11 months ago #222005

Hi,

Because the mode "virtual coupon" generate a discount directly in the cart/order.
If you want to let your customer decide if he want to use or not the points ; the best is to add the block "user points" in your checkout workflow.

By editing the plugin in the Joomla side (in the joomla plugin manager) you will access to some specific settings, like the activation of that checkout block or a setting to determine if you want to use the point by default (or not).

regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 23
  • Thank you received: 0
8 years 11 months ago #222118

really thank you, there was some little wrong settiing in the joomla plug ing settings. Now all works like a charm. Last things, how can I translate the "user points" block? i don't know why but it is displayed in english.

Please Log in or Create an account to join the conversation.

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
8 years 11 months ago #222120

Hi,

Like any text in HikaShop you can translate it in the translation files:
www.hikashop.com/download/languages.html

Best regards,
Nicolas

Please Log in or Create an account to join the conversation.

Time to create page: 0.070 seconds
Powered by Kunena Forum