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

#   Paying with virtual points issue

##

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

Less More

- Posts: 27
- Thank you received: 0
-
-

10 years 1 month ago [\#251659](#251659) by [rasmus@opdagverden.dk](/forum/user/37231-rasmus-opdagverden-dk "View rasmus@opdagverden.dk's Profile")  *[Paying with virtual points issue](/forum/29-payment-methods/886770-paying-with-virtual-points-issue#251659 "-- HikaShop version -- : 2.6.4  Hi  I believe I found a bug related to payment with points where virtual points is activated. Please see the video here displaying the issue:    dl.dropboxusercontent.com/u/2592749/hika...tualpoints&#95;issue.mp4  There are 2 issues in the video, one major one.  I hope you can confirm the issue.  Thanks")* was created by *[rasmus@opdagverden.dk](/forum/user/37231-rasmus-opdagverden-dk "View rasmus@opdagverden.dk's Profile")*

-- HikaShop version -- : 2.6.4

Hi

I believe I found a bug related to payment with points where virtual points is activated.
Please see the video here displaying the issue:

[ dl.dropboxusercontent.com/u/2592749/hika...tualpoints\_issue.mp4](https://dl.dropboxusercontent.com/u/2592749/hikashop_virtualpoints_issue.mp4)

There are 2 issues in the video, one major one.

I hope you can confirm the issue.

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84ODY3NzAtcGF5aW5nLXdpdGgtdmlydHVhbC1wb2ludHMtaXNzdWU/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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

10 years 1 month ago [\#251661](#251661) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Paying with virtual points issue](/forum/29-payment-methods/886770-paying-with-virtual-points-issue#251661 "-- HikaShop version -- : 2.6.4  Hi  I believe I found a bug related to payment with points where virtual points is activated. Please see the video here displaying the issue:    dl.dropboxusercontent.com/u/2592749/hika...tualpoints&#95;issue.mp4  There are 2 issues in the video, one major one.  I hope you can confirm the issue.  Thanks")*

Hi,

Well, looking at your video, it does seems some things could be improved with the virtual points system, but it doesn't necessarily means that there is a bug.
It's possible that this could happen if you configured your points plugins to give more points than it is necessary to pay for the order.
If you gain 2 points per euro but that it only costs 1 point for each euro to pay for the order, then you'll actually be able to purchase the products for free and earn points at the same time. And that might explain why the system behaves strangely in that case, as that's usually not something you want to do.
I didn't get to see all the settings of all your points plugins in your video and the backend access you had provided before doesn't work anymore so I can't say whether it's that or not, but it could be a plausible scenario.
Could you check on that and provide the screenshots of the settings of your points plugins ?

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

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

Less More

- Posts: 27
- Thank you received: 0
-
-

10 years 1 month ago [\#251720](#251720) by [rasmus@opdagverden.dk](/forum/user/37231-rasmus-opdagverden-dk "View rasmus@opdagverden.dk's Profile")  Replied by *[rasmus@opdagverden.dk](/forum/user/37231-rasmus-opdagverden-dk "View rasmus@opdagverden.dk's Profile")* on topic *[Paying with virtual points issue](/forum/29-payment-methods/886770-paying-with-virtual-points-issue#251720 "-- HikaShop version -- : 2.6.4  Hi  I believe I found a bug related to payment with points where virtual points is activated. Please see the video here displaying the issue:    dl.dropboxusercontent.com/u/2592749/hika...tualpoints&#95;issue.mp4  There are 2 issues in the video, one major one.  I hope you can confirm the issue.  Thanks")*

Hi

I have reactivated your backend access so you can see. ![:-)](/media/kunena/emoticons/3.png ":-)")

If it was an issue with "to many points given" (don't believe it is) then why is no points removed from users account, only points given. Altså the fact that this strange behaviour only occurs when user has zero points - not if user has e.g. 1 point, trying to buy the same item.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84ODY3NzAtcGF5aW5nLXdpdGgtdmlydHVhbC1wb2ludHMtaXNzdWU/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: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

10 years 1 month ago [\#251889](#251889) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Paying with virtual points issue](/forum/29-payment-methods/886770-paying-with-virtual-points-issue#251889 "-- HikaShop version -- : 2.6.4  Hi  I believe I found a bug related to payment with points where virtual points is activated. Please see the video here displaying the issue:    dl.dropboxusercontent.com/u/2592749/hika...tualpoints&#95;issue.mp4  There are 2 issues in the video, one major one.  I hope you can confirm the issue.  Thanks")*

Hi,

If you want to use the "virtual points", you also need to use the "virtual coupon" ; otherwise you enter in configuration which cannot be supported by the plugin.

Please note that the "virtual points" is an option added into the plugin from a "feature request" but is not a full supported feature because the plugins wasn't design for such kind of case.
The setting allow the user to have virtually the points of products in his cart before confirming the order.
That is why you need to use the "virtual coupon" in the same time because it allow to generate dynamically the discount in the cart depending the user points. While the original behavior is to use the points to create a coupon.
So generating a coupon with points that the user do not have yet and might not buy at the end.. Is a contradiction.

Once you have created an order, you will be able to find in the database column "order_payment_params" a PHP serialize object.
In that object there will be information from the "user points" plugin, like the number of points used and the number of points earned.
It allows the plugin to give or retrieve the points depending the modification of the order status.

I hope these explanations will help you to understand how the "user points" plugin is working.

Regards,

---

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

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

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