Page 1 of 1

BUG - Reward Points

Posted: Sun Jan 18, 2015 8:07 am
by JonnieG
When a customer selects a product and pays with points and money the points are NOT deducted from the customers total points until the admin changes the order status to complete. In theory allowing the customer to shop with points that they have already used. Not Good for business!

Any points involved in a payment or part payment should be deducted when a customer presses confirm order.

I'm using Opencart version 2.0.1.1

Re: BUG - Reward Points

Posted: Thu Mar 05, 2015 2:54 pm
by yangb0
Same here!

Re: BUG - Reward Points

Posted: Tue Nov 17, 2015 9:48 pm
by Prophet Mykola
I am running version 2.1.0.1, now the reward points are not deducted at all, even when order is set to 'complete.

Re: BUG - Reward Points

Posted: Wed Jan 13, 2016 11:40 pm
by hmf
I am having the same issue in 1.5.3.1

Anyone have a fix?

Re: BUG - Reward Points

Posted: Sun Jan 17, 2016 1:29 am
by gogoweb
Hello,
I've found a solution for the bug in OpenCart 2.1.0.1 and 2.1.0.2
I've implemented it in my module for Auto reward points.

If you choose not to use the module's functions and keep it disabled, it will still fix the problem of deducting customer's points.

Re: BUG - Reward Points

Posted: Fri Jan 22, 2016 8:54 pm
by Burt65
gogoweb wrote:Hello,
I've found a solution for the bug in OpenCart 2.1.0.1 and 2.1.0.2
I've implemented it in my module for Auto reward points.

If you choose not to use the module's functions and keep it disabled, it will still fix the problem of deducting customer's points.

You have found the solution? Really? Your post is dated 17/1/16 and the fix was posted by vyshemirsky on GitHub on the 18/11/15...

That's sad...

For anybody else that may still have this problem:

upload/catalog/model/total/reward.php

Change line 68

if ($this->model_account_customer->getRewardTotal($order_info['customer_id']) < $points) {

to

if ($this->model_account_customer->getRewardTotal($order_info['customer_id']) >= $points) {

Re: BUG - Reward Points

Posted: Sat Jan 30, 2016 11:48 am
by gogoweb
Well I did not know that first, but who cares when it is not published in 2.1.0.2 either!

Re: BUG - Reward Points

Posted: Sat Jan 30, 2016 5:35 pm
by Burt65
gogoweb wrote:Well I did not know that first, but who cares when it is not published in 2.1.0.2 either!
Well it is painfully obvious that you don't really care much, when you try to take credit and I quote:
We are proud of discovering the bug and implementing a patch for it in our latest release
and then instead of helping people by letting them know what the bug is, try to maximise your profit by selling your extension with the solution...

Sorry mate but it does look cheap and immature!

Luckily for us, you are the minority...

Re: BUG - Reward Points

Posted: Sat Dec 10, 2016 12:50 pm
by kachman
there is one other issue i noticed.

If customer has enough points to get a product for free, the system still goes to paypal page and neglects the 100% discount, it just shows the original price on the paypal login page. How can I fix this so that the order is complete without going to paypal?

Re: BUG - Reward Points

Posted: Wed Dec 21, 2016 6:48 pm
by daneshh
when a customer uses his reward point, and then if an admin deletes his order in the admin panel, the reward point will refund to customer and he can use it again
what fix do u have for this ?:(

Re: BUG - Reward Points

Posted: Wed Dec 21, 2016 6:50 pm
by daneshh
kachman wrote:there is one other issue i noticed.

If customer has enough points to get a product for free, the system still goes to paypal page and neglects the 100% discount, it just shows the original price on the paypal login page. How can I fix this so that the order is complete without going to paypal?
there's a module named free order I think ( or something like this ), u should install it and when an order has 0$ invoice, the free payment will be activated automatically.

Re: BUG - Reward Points

Posted: Wed Feb 15, 2017 1:10 am
by kachman
daneshh wrote:
Wed Dec 21, 2016 6:50 pm
kachman wrote:there is one other issue i noticed.

If customer has enough points to get a product for free, the system still goes to paypal page and neglects the 100% discount, it just shows the original price on the paypal login page. How can I fix this so that the order is complete without going to paypal?
there's a module named free order I think ( or something like this ), u should install it and when an order has 0$ invoice, the free payment will be activated automatically.
thanks a lot, its called Free checkout. God bless you my friend

Re: BUG - Reward Points

Posted: Wed Feb 15, 2017 1:11 am
by kachman
daneshh wrote:
Wed Dec 21, 2016 6:48 pm
when a customer uses his reward point, and then if an admin deletes his order in the admin panel, the reward point will refund to customer and he can use it again
what fix do u have for this ?:(
yes i have also noticed this. So i have to manually delete reward points everytime I delete order

Re: BUG - Reward Points

Posted: Fri Feb 17, 2017 9:01 pm
by orocha
Burt65 wrote:
Fri Jan 22, 2016 8:54 pm
gogoweb wrote:Hello,
I've found a solution for the bug in OpenCart 2.1.0.1 and 2.1.0.2
I've implemented it in my module for Auto reward points.

If you choose not to use the module's functions and keep it disabled, it will still fix the problem of deducting customer's points.

You have found the solution? Really? Your post is dated 17/1/16 and the fix was posted by vyshemirsky on GitHub on the 18/11/15...

That's sad...

For anybody else that may still have this problem:

upload/catalog/model/total/reward.php

Change line 68

if ($this->model_account_customer->getRewardTotal($order_info['customer_id']) < $points) {

to

if ($this->model_account_customer->getRewardTotal($order_info['customer_id']) >= $points) {
Hello,

The solution to the OpenCart bug problem of not cashing reward points when the client uses the points was posted above but only for versions 2.1 and 2.2, but for previous versions like 2.0.3.1 did anyone find out?

Re: BUG - Reward Points

Posted: Mon Dec 04, 2017 12:39 am
by ajbeigh
Burt65 wrote:
Fri Jan 22, 2016 8:54 pm
gogoweb wrote:Hello,
I've found a solution for the bug in OpenCart 2.1.0.1 and 2.1.0.2
I've implemented it in my module for Auto reward points.

If you choose not to use the module's functions and keep it disabled, it will still fix the problem of deducting customer's points.

You have found the solution? Really? Your post is dated 17/1/16 and the fix was posted by vyshemirsky on GitHub on the 18/11/15...

That's sad...

For anybody else that may still have this problem:

upload/catalog/model/total/reward.php

Change line 68

if ($this->model_account_customer->getRewardTotal($order_info['customer_id']) < $points) {

to

if ($this->model_account_customer->getRewardTotal($order_info['customer_id']) >= $points) {
Hi, i tried this, but didn't work, can someone please help me, i'm using opencart v2.1.0.2

Re: BUG - Reward Points

Posted: Tue Dec 05, 2017 8:21 pm
by ADD Creative
As mentioned in the first post, have you set the order to a completed status?