Post by Randem » Mon Feb 01, 2016 12:45 pm

Any order with "Reward Points" redeemed automatically cancels inside OpenCart but the payment & emails complete. The order goes thru and the emails go out stating the following:

Thank you for your interest in XXXXXXXXXXX products. Your order has been received and will be processed once payment has been confirmed.


I also get the email stating that we have an order (even though it has a status of canceled. The reward points are never subtracted from the customers account.

This message happens even though the order status is canceled. I did not cancel the order OpenCart automatically used this status. The same order without Reward Points redeemed will go thru to completion in OpenCart and the payment system.

Is there a hidden setting that I do not see for "Reward Points" that sets the order to cancel?

Anyone know what is going on?

After the payment I get this message:

Your order has been placed!

Your order has been successfully processed!

You can view your order history by going to the my account page and by clicking on history.

If your purchase has an associated download, you can go to the account downloads page to view them.

Please direct any questions you have to the store owner.

If you have purchased a Serial Key or Pin Number, you can find your Registration Key using this link: My downloaded products Serial Keys

Thanks for shopping with us online!

NEVER take serious; anyone who gives negative impact statements with no ABSOLUTE proof!
OpenCart Helpful Information * Upgrade 1.5 to 2.1 * Upgrade 2.1 to 2.2
"Why do people NEVER have enough time to do it right but ALWAYS enough time to do it over?"
DO NOT EVER GIVE SOMEONE YOU DON"T KNOW ADMIN ACCESS TO ANYTHING!
I am NOT affiliated with OpenCart


User avatar
Active Member

Posts

Joined
Sat Sep 27, 2014 9:17 am

Post by Randem » Mon Feb 01, 2016 2:42 pm

Update: Even with changing the order status to complete the reward points are not deducted from the customer's account even though the order is given credit for it.

NEVER take serious; anyone who gives negative impact statements with no ABSOLUTE proof!
OpenCart Helpful Information * Upgrade 1.5 to 2.1 * Upgrade 2.1 to 2.2
"Why do people NEVER have enough time to do it right but ALWAYS enough time to do it over?"
DO NOT EVER GIVE SOMEONE YOU DON"T KNOW ADMIN ACCESS TO ANYTHING!
I am NOT affiliated with OpenCart


User avatar
Active Member

Posts

Joined
Sat Sep 27, 2014 9:17 am

Post by Qphoria » Tue Feb 02, 2016 12:33 am

What is happening is the reward point function is triggering the fraud status which is likely set to cancel in your system settings -> option tab. There is currently a known issue with this for admin order edit but nothing that I've seen with normal orders.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by Randem » Tue Feb 02, 2016 11:25 am

When you say "admin orders" do you mean orders created in the admin panel? these orders were created from the store with a logged in customer. Do you mean it won't work if the order came from the same remote IP address as the admin?

NEVER take serious; anyone who gives negative impact statements with no ABSOLUTE proof!
OpenCart Helpful Information * Upgrade 1.5 to 2.1 * Upgrade 2.1 to 2.2
"Why do people NEVER have enough time to do it right but ALWAYS enough time to do it over?"
DO NOT EVER GIVE SOMEONE YOU DON"T KNOW ADMIN ACCESS TO ANYTHING!
I am NOT affiliated with OpenCart


User avatar
Active Member

Posts

Joined
Sat Sep 27, 2014 9:17 am

Post by Qphoria » Fri Feb 05, 2016 1:06 am

From what I've seen...
If an order placed on the front end is set to "Canceled" because it didn't go through or update correctly, and then you try to change it to one of the completed statuses like "Complete" it will set itself back to cancel because it tries to re-apply the reward points again during the history update and triggers the fraud setting which is set to cancel for most stores. I see the same issue with orders that have a coupon.

More info here:
https://github.com/opencart/opencart/issues/3657#issue

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by Burt65 » Fri Feb 05, 2016 7:39 am

Randem wrote:Update: Even with changing the order status to complete the reward points are not deducted from the customer's account even though the order is given credit for it.
Have a look here:

http://forum.opencart.com/viewtopic.php?f=191&t=137332

Over 95% of all computer problems can be traced back to the interface between the keyboard and the chair...


User avatar
Active Member

Posts

Joined
Mon Nov 18, 2013 3:23 pm
Location - Oz

Post by Randem » Fri Feb 05, 2016 8:13 am

Thanks Burt65,

I will check this out an let you know.

It appears that that other guy is selling this one line change for $27? And the fix wasn't even conjured up by him. Are you kidding me!!!

NEVER take serious; anyone who gives negative impact statements with no ABSOLUTE proof!
OpenCart Helpful Information * Upgrade 1.5 to 2.1 * Upgrade 2.1 to 2.2
"Why do people NEVER have enough time to do it right but ALWAYS enough time to do it over?"
DO NOT EVER GIVE SOMEONE YOU DON"T KNOW ADMIN ACCESS TO ANYTHING!
I am NOT affiliated with OpenCart


User avatar
Active Member

Posts

Joined
Sat Sep 27, 2014 9:17 am

Post by Randem » Fri Feb 05, 2016 2:28 pm

It works... I have added it to our VQMOD XML file with of course credit to the ORIGINAL author.

NEVER take serious; anyone who gives negative impact statements with no ABSOLUTE proof!
OpenCart Helpful Information * Upgrade 1.5 to 2.1 * Upgrade 2.1 to 2.2
"Why do people NEVER have enough time to do it right but ALWAYS enough time to do it over?"
DO NOT EVER GIVE SOMEONE YOU DON"T KNOW ADMIN ACCESS TO ANYTHING!
I am NOT affiliated with OpenCart


User avatar
Active Member

Posts

Joined
Sat Sep 27, 2014 9:17 am

Post by psp500 » Thu Jun 04, 2020 5:43 pm

Burt65 wrote:
Fri Feb 05, 2016 7:39 am
Randem wrote:Update: Even with changing the order status to complete the reward points are not deducted from the customer's account even though the order is given credit for it.
Have a look here:

http://forum.opencart.com/viewtopic.php?f=191&t=137332
i have check this form and found only one code change solution which is in catalog/model/total/reward.php
I'm using oc 3.0.3.3 and found already changed code. but still my problem not solved.

when any customer try to purchase a product with a reward point, order status automatically sets to fraud status, and the order gets canceled. also I unable to change status from the admin side.

Newbie

Posts

Joined
Tue Sep 24, 2019 3:32 am
Who is online

Users browsing this forum: No registered users and 20 guests