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

#   Returns user points on order cancelled/refunded

##

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

Less More

- Posts: 23
- Thank you received: 0
-
-

10 years 11 months ago [\#219394](#219394) by [toninom](/forum/user/37813-toninom "View toninom's Profile")  *[Returns user points on order cancelled/refunded](/forum/29-payment-methods/880243-returns-user-points-on-order-cancelled-refunded#219394 "-- HikaShop version -- : 2.6.0  Hi, how can I set the plugin to retruns the points used to pay on order cancelled/refunded ?")* was created by *[toninom](/forum/user/37813-toninom "View toninom's Profile")*

-- 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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84ODAyNDMtcmV0dXJucy11c2VyLXBvaW50cy1vbi1vcmRlci1jYW5jZWxsZWQtcmVmdW5kZWQ/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)
-

10 years 11 months ago [\#219411](#219411) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Returns user points on order cancelled/refunded](/forum/29-payment-methods/880243-returns-user-points-on-order-cancelled-refunded#219411 "-- HikaShop version -- : 2.6.0  Hi, how can I set the plugin to retruns the points used to pay on order cancelled/refunded ?")*

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 &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 23
- Thank you received: 0
-
-

10 years 11 months ago [\#220038](#220038) by [toninom](/forum/user/37813-toninom "View toninom's Profile")  Replied by *[toninom](/forum/user/37813-toninom "View toninom's Profile")* on topic *[Returns user points on order cancelled/refunded](/forum/29-payment-methods/880243-returns-user-points-on-order-cancelled-refunded#220038 "-- HikaShop version -- : 2.6.0  Hi, how can I set the plugin to retruns the points used to pay on order cancelled/refunded ?")*

Thanks, exactly what i should config? And how ?

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

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

Less More

- Posts: 23
- Thank you received: 0
-
-

10 years 11 months ago [\#220121](#220121) by [toninom](/forum/user/37813-toninom "View toninom's Profile")  Replied by *[toninom](/forum/user/37813-toninom "View toninom's Profile")* on topic *[Returns user points on order cancelled/refunded](/forum/29-payment-methods/880243-returns-user-points-on-order-cancelled-refunded#220121 "-- HikaShop version -- : 2.6.0  Hi, how can I set the plugin to retruns the points used to pay on order cancelled/refunded ?")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84ODAyNDMtcmV0dXJucy11c2VyLXBvaW50cy1vbi1vcmRlci1jYW5jZWxsZWQtcmVmdW5kZWQ/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)
-

10 years 11 months ago [\#220127](#220127) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Returns user points on order cancelled/refunded](/forum/29-payment-methods/880243-returns-user-points-on-order-cancelled-refunded#220127 "-- HikaShop version -- : 2.6.0  Hi, how can I set the plugin to retruns the points used to pay on order cancelled/refunded ?")*

Hi,

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

Regards,

---

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

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

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

Less More

- Posts: 23
- Thank you received: 0
-
-

10 years 11 months ago [\#221242](#221242) by [toninom](/forum/user/37813-toninom "View toninom's Profile")  Replied by *[toninom](/forum/user/37813-toninom "View toninom's Profile")* on topic *[Returns user points on order cancelled/refunded](/forum/29-payment-methods/880243-returns-user-points-on-order-cancelled-refunded#221242 "-- HikaShop version -- : 2.6.0  Hi, how can I set the plugin to retruns the points used to pay on order cancelled/refunded ?")*

HI, which other settings do you need to see?

- [ ![Immagine.png](/forum/attachment/27818) ](/forum/attachment/27818 "Immagine.png") [ ](/forum/attachment/27818?download=1 "Immagine.png")
- [ ![Immagine2.png](/forum/attachment/27819) ](/forum/attachment/27819 "Immagine2.png") [ ](/forum/attachment/27819?download=1 "Immagine2.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84ODAyNDMtcmV0dXJucy11c2VyLXBvaW50cy1vbi1vcmRlci1jYW5jZWxsZWQtcmVmdW5kZWQ/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)
-

10 years 11 months ago [\#221442](#221442) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Returns user points on order cancelled/refunded](/forum/29-payment-methods/880243-returns-user-points-on-order-cancelled-refunded#221442 "-- HikaShop version -- : 2.6.0  Hi, how can I set the plugin to retruns the points used to pay on order cancelled/refunded ?")*

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 &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 23
- Thank you received: 0
-
-

10 years 11 months ago [\#221995](#221995) by [toninom](/forum/user/37813-toninom "View toninom's Profile")  Replied by *[toninom](/forum/user/37813-toninom "View toninom's Profile")* on topic *[Returns user points on order cancelled/refunded](/forum/29-payment-methods/880243-returns-user-points-on-order-cancelled-refunded#221995 "-- HikaShop version -- : 2.6.0  Hi, how can I set the plugin to retruns the points used to pay on order cancelled/refunded ?")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84ODAyNDMtcmV0dXJucy11c2VyLXBvaW50cy1vbi1vcmRlci1jYW5jZWxsZWQtcmVmdW5kZWQ/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)
-

10 years 11 months ago [\#222005](#222005) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Returns user points on order cancelled/refunded](/forum/29-payment-methods/880243-returns-user-points-on-order-cancelled-refunded#222005 "-- HikaShop version -- : 2.6.0  Hi, how can I set the plugin to retruns the points used to pay on order cancelled/refunded ?")*

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 &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 23
- Thank you received: 0
-
-

10 years 11 months ago [\#222118](#222118) by [toninom](/forum/user/37813-toninom "View toninom's Profile")  Replied by *[toninom](/forum/user/37813-toninom "View toninom's Profile")* on topic *[Returns user points on order cancelled/refunded](/forum/29-payment-methods/880243-returns-user-points-on-order-cancelled-refunded#222118 "-- HikaShop version -- : 2.6.0  Hi, how can I set the plugin to retruns the points used to pay on order cancelled/refunded ?")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84ODAyNDMtcmV0dXJucy11c2VyLXBvaW50cy1vbi1vcmRlci1jYW5jZWxsZWQtcmVmdW5kZWQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

10 years 10 months ago [\#222120](#222120) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Returns user points on order cancelled/refunded](/forum/29-payment-methods/880243-returns-user-points-on-order-cancelled-refunded#222120 "-- HikaShop version -- : 2.6.0  Hi, how can I set the plugin to retruns the points used to pay on order cancelled/refunded ?")*

Hi,

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

Best regards,
Nicolas

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84ODAyNDMtcmV0dXJucy11c2VyLXBvaW50cy1vbi1vcmRlci1jYW5jZWxsZWQtcmVmdW5kZWQ/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.424 seconds

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

[](#top)
