Thank you so much Paul3648. I had only changed the one instance. Seems to be working now.
Thank you so much Paul3648. I had only changed the one instance. Seems to be working now.
Well, probably it's the way it works.... but for i.e:
A 8.5 order gives 85 points. Ok.
Lets say that the customers redeems 100 points.
But on checkout_confirmation page:
Sub-Total: 8,50€
Shipping : 1,50€
-1,00€ ( the amount for 100 points ):
Total: 9,00€
And the customers gets 75 reward points.
So, I thought that the customers would use his points, and receive the actual 85 points. But it's subtracting 10 points from the 85 ( so the points that the customers used for this purchase. )
But maybe this is explain in some older threads... I haven't check.
Another thing, that it's happening and I think it's confused, it's even if I clear the basket, and add some other product, on checkout_payment
the 100 points (for this example the last 100 reward points used ) are still there. And I think, that when clearing the basket , all that info should be clear too. ( I think )..... or maybe not.
“Though the problems of the world are increasingly complex, the solutions remain embarrassingly simple.” ― Bill Mollison
Are you using it in advanced mode?
I've played with it and didnt have issues with circular points since the customers only get pending points, not earned points until I manually change their products to the "delivered" status.
He's getting 75 points because he's actually paying 7,50€. I think this is correct.
I think this is also correct, because the customer has already indicated he wants to redeem the points, so they are automatically selected in the same session.
There's another issue that I can't reproduce at xampp with PHP Version: 5.6.15 (Zend: 2.6.0) , and the online server with PHP Version: 5.6.28 (Zend: 2.6.0)
But if no advance Advanced Reward Point Calculation Rules are set , no modules are set there, it returns
Code:[18-Nov-2016 10:40:29 Europe/Lisbon] PHP Warning: Invalid argument supplied for foreach() in /home/public/includes/functions/extra_functions/reward_points_functions.php on line 314Looks like surrounding this foreach to loop only if there are odules to calculate , solves the warnings.PHP Code:
function GetRewardPointAdvancedCalculateValue()
{
$value=0;
$module_list=GetRewardPointAdvancedCalculateTable();
foreach($module_list as $module)
if($module['action']=="Subtract")
$value-=GetOrderTotalValue($module['module']);
else
$value+=GetOrderTotalValue($module['module']);
return $value;
}
But, again, I can't reproduce on xampp...probably the php version.PHP Code:
function GetRewardPointAdvancedCalculateValue()
{
$value=0;
$module_list=GetRewardPointAdvancedCalculateTable();
if (!empty($module_list)) {
foreach($module_list as $module)
if($module['action']=="Subtract")
$value-=GetOrderTotalValue($module['module']);
else
$value+=GetOrderTotalValue($module['module']);
}
return $value;
}
“Though the problems of the world are increasingly complex, the solutions remain embarrassingly simple.” ― Bill Mollison
I just installed this mod and it's working well EXCEPT that order notification emails aren't being sent out. I don't get a copy as the store admin and the customer isn't getting a copy, either.
What could've made this happen?
Can't seem to get this to work the way I want it to :-(
Item cost $8.00
Reward Points should be 8
Each Reward point should have CASH VALUE of $0.10
Pending Value is CORRECT $0.80
But Available is 0%
What am I doing incorrect?
The points are PENDING until you approve them. You can set it up to approve them automatically, but the only way I managed to do that is by changing the Sunrise Period to 1 instead of 0.
In admin, go to Configuration / Reward Point Configuration. Look for "Reward Point Sunrise Period" and set this to 1.
All pending points will move to EARNED after 24 hours.
You can see the pending points by going to Customers / Reward Points and sorting by Points Pending.
Hope this helps!
Bookmarks