- Posts: 575
- Thank you received: 11
Rounding Problem For Point Payment
- ler@singmuiheng.com
-
Topic Author
- Offline
Less
More
8 years 8 months ago #286566
by ler@singmuiheng.com
Rounding Problem For Point Payment was created by ler@singmuiheng.com
-- HikaShop version -- : 3.2.2
-- Joomla version -- : 3.8.2
-- PHP version -- : 5.4.45
Hi
Case like this , when our order is $79.80, we used point payment method for payment
It is not deducted as 79.80 point, 80 points is deducted
How can we make it deduct exactly as 79.80?
We saw that there is a rounding field in point payment method, what is the value we should enter?
-- Joomla version -- : 3.8.2
-- PHP version -- : 5.4.45
Hi
Case like this , when our order is $79.80, we used point payment method for payment
It is not deducted as 79.80 point, 80 points is deducted
How can we make it deduct exactly as 79.80?
We saw that there is a rounding field in point payment method, what is the value we should enter?
Please Log in or Create an account to join the conversation.
8 years 8 months ago #286568
by nicolas
Replied by nicolas on topic Rounding Problem For Point Payment
Hi,
User points are handled as integers (no decimals).
The only solution would be to configure your points plugins so that 1 points equal 1 cent instead of 1 point equal 1 dollar.
User points are handled as integers (no decimals).
The only solution would be to configure your points plugins so that 1 points equal 1 cent instead of 1 point equal 1 dollar.
Please Log in or Create an account to join the conversation.
- ler@singmuiheng.com
-
Topic Author
- Offline
Less
More
- Posts: 575
- Thank you received: 11
8 years 8 months ago #286633
by ler@singmuiheng.com
Replied by ler@singmuiheng.com on topic Rounding Problem For Point Payment
if that is the case......what is the meaning of the rounding field?
Please Log in or Create an account to join the conversation.
8 years 8 months ago #286642
by nicolas
Replied by nicolas on topic Rounding Problem For Point Payment
Hi,
I suppose that you're talking about the option:
So when you have it off, it rounds normally:
from 10.0 to 10.499999 it's rounded to 10 and from 10.5 to 10.99999 it's rounded to 11.
But when you have it on, it rounds down the points:
from 10.0 to 10.99999 it's rounded to 10.
I suppose that you're talking about the option:
www.hikashop.com/support/documentation/257-using-points.htmlPoints round down will force a round down on the number of points that the customer could earn
So when you have it off, it rounds normally:
from 10.0 to 10.499999 it's rounded to 10 and from 10.5 to 10.99999 it's rounded to 11.
But when you have it on, it rounds down the points:
from 10.0 to 10.99999 it's rounded to 10.
Please Log in or Create an account to join the conversation.
Time to create page: 0.175 seconds