Forums / All Other Contributions/Addons / Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread

Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread

Views: 72,389

Results 321 to 340 of 364
19 Nov 2019, 7:50 PM
#321
montanag avatar

montanag

New Zenner

Join Date:
Feb 2019
Location:
Kamloops, BC
Posts:
9
Plugin Contributions:
0

Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread

montanag:

I have downloaded v2.5 twice and when opening docs/RewardPoints_Readme it opens the overview page but all the hot links from Installation, How to use etc. just go to a blank blocked page even when they are from a downloaded file on my own system and I configure Chrome to ask then allow Flash

What am I doing wrong please

Thank you, never mind - figured it out, had not extracted folder fully, sorry for the trouble

23 Jan 2020, 8:19 PM
#322
sammirah avatar

sammirah

Zen Follower

Join Date:
Apr 2012
Location:
Los Angeles, CA
Posts:
185
Plugin Contributions:
2

Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread

So can you confirm that this plugin will work with ZC 1.5.6.a or b? I am currently using 1.5.5f where it definitely works, but I am trying to stop being stubborn and move into the new age and need to know it will work for at least those versions. I know it doesn't work at all on 1.5.6c something is wrong with the admin section.

28 Apr 2020, 4:46 PM
#323
roqsolid avatar

roqsolid

New Zenner

Join Date:
Apr 2020
Location:
Leeds
Posts:
1
Plugin Contributions:
0

Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread

Hi there, I have just installed this module for version 1.5.6c (a fresh install - no customers, orders or anything as yet) and the following page doesn't render at all so I can't set up the ratios etc: .....zcadmin/reward_points.php

I have been using the module for years in my old store that's 1.5.5 without issue.

The page is completely blank in the new installation. Will it work once I import the data from my old store or is there something that needs to be changed on that page specifically or something else I need to do?

I have checked the installation and everything is in place. The one script I haven't run however is the one entitled remove_multiple_config_items - I can't see any notes as to what its for or when it is supposed to be run - is this perhaps the issue?

2 Jul 2020, 7:35 PM
#324
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread

I'm working on a version for 1.56c now with corrections to the known bugs and integration points for commonly installed modules.
Donations are welcomed!
:cheers:

Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian

14 Jul 2020, 8:20 AM
#325
heathenmagic avatar

heathenmagic

Totally Zenned

Join Date:
May 2005
Location:
England
Posts:
733
Plugin Contributions:
0

Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread

twitchtoo:

I'm working on a version for 1.56c now with corrections to the known bugs and integration points for commonly installed modules.
Donations are welcomed!
:cheers:

This would be of interest, and would make donation for your work. Not sure if 1.56c is much different to the 1.57 version. Still currently doing upgrade at the moment.

14 Jul 2020, 3:20 PM
#326
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread

HeathenMagic:

This would be of interest, and would make donation for your work. Not sure if 1.56c is much different to the 1.57 version. Still currently doing upgrade at the moment.

It appears everything will need to meet the 1.56c coding **step **before being merged with 1.57, which is also becoming an upgrade coding step.

A polished public version for 1.56c may be ready for the end of August with the current schedule/funding support - Thanks!

Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian

2 Sep 2020, 1:31 PM
#327
digitalshadow avatar

digitalshadow

Totally Zenned

Join Date:
Mar 2009
Posts:
616
Plugin Contributions:
0

Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread

1.5.6c
PHP Version: 7.3.21

[02-Sep-2020 14:22:19 Europe/London] Request URI: /log-in?action=process, IP address: 
#1  RewardPoints->update() called at [/home/site/public_html/includes/classes/class.base.php:103]
#2  base->notify() called at [/home/site/public_html/includes/modules/pages/login/header_php.php:260]
#3  require(/home/site/public_html/includes/modules/pages/login/header_php.php) called at [/home/site/public_html/index.php:36]
--> PHP Warning: Use of undefined constant NOTIFY_ORDER_DURING_CREATE_ADDED_ORDER_HEADER - assumed 'NOTIFY_ORDER_DURING_CREATE_ADDED_ORDER_HEADER' (this will throw an Error in a future version of PHP) in /home/site/public_html/includes/classes/observers/class.reward_points.php on line 32.

[02-Sep-2020 14:22:19 Europe/London] Request URI: /log-in?action=process, IP address: 
#1  RewardPoints->update() called at [/home/site/public_html/includes/classes/class.base.php:103]
#2  base->notify() called at [/home/site/public_html/includes/modules/pages/login/header_php.php:260]
#3  require(/home/site/public_html/includes/modules/pages/login/header_php.php) called at [/home/site/public_html/index.php:36]
--> PHP Warning: Use of undefined constant NOTIFY_MODULE_CREATE_ACCOUNT_ADDED_CUSTOMER_RECORD - assumed 'NOTIFY_MODULE_CREATE_ACCOUNT_ADDED_CUSTOMER_RECORD' (this will throw an Error in a future version of PHP) in /home/site/public_html/includes/classes/observers/class.reward_points.php on line 36.

[02-Sep-2020 14:22:19 Europe/London] Request URI: /log-in?action=process, IP address: 
#1  RewardPoints->update() called at [/home/site/public_html/includes/classes/class.base.php:103]
#2  base->notify() called at [/home/site/public_html/includes/modules/pages/login/header_php.php:260]
#3  require(/home/site/public_html/includes/modules/pages/login/header_php.php) called at [/home/site/public_html/index.php:36]
--> PHP Warning: Use of undefined constant NOTIFY_LOGIN_SUCCESS - assumed 'NOTIFY_LOGIN_SUCCESS' (this will throw an Error in a future version of PHP) in /home/site/public_html/includes/classes/observers/class.reward_points.php on line 44.
2 Sep 2020, 1:33 PM
#328
digitalshadow avatar

digitalshadow

Totally Zenned

Join Date:
Mar 2009
Posts:
616
Plugin Contributions:
0

Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread

[02-Sep-2020 14:30:05 Europe/London] Request URI: /index.php?main_page=checkout_process, IP address: 
#1  RewardPoints->update() called at [/home/site/public_html/includes/classes/class.base.php:103]
#2  base->notify() called at [/home/site/public_html/includes/classes/order.php:713]
#3  order->create() called at [/home/site/public_html/includes/modules/checkout_process.php:95]
#4  require(/home/site/public_html/includes/modules/checkout_process.php) called at [/home/site/public_html/includes/modules/pages/checkout_process/header_php.php:14]
#5  require(/home/site/public_html/includes/modules/pages/checkout_process/header_php.php) called at [/home/site/public_html/index.php:36]
--> PHP Warning: Use of undefined constant NOTIFY_ORDER_DURING_CREATE_ADDED_ORDER_HEADER - assumed 'NOTIFY_ORDER_DURING_CREATE_ADDED_ORDER_HEADER' (this will throw an Error in a future version of PHP) in /home/site/public_html/includes/classes/observers/class.reward_points.php on line 32.
2 Sep 2020, 1:36 PM
#329
digitalshadow avatar

digitalshadow

Totally Zenned

Join Date:
Mar 2009
Posts:
616
Plugin Contributions:
0

Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread

[02-Sep-2020 14:25:24 Europe/London] Request URI: /create-account, IP address: 
#1  RewardPoints->update() called at [/home/site/public_html/includes/classes/class.base.php:103]
#2  base->notify() called at [/home/site/public_html/includes/modules/create_account.php:594]
#3  include(/home/site/public_html/includes/modules/create_account.php) called at [/home/site/public_html/includes/modules/pages/create_account/header_php.php:17]
#4  require(/home/site/public_html/includes/modules/pages/create_account/header_php.php) called at [/home/site/public_html/index.php:36]
--> PHP Warning: Use of undefined constant NOTIFY_ORDER_DURING_CREATE_ADDED_ORDER_HEADER - assumed 'NOTIFY_ORDER_DURING_CREATE_ADDED_ORDER_HEADER' (this will throw an Error in a future version of PHP) in /home/site/public_html/includes/classes/observers/class.reward_points.php on line 32.

[02-Sep-2020 14:25:24 Europe/London] Request URI: /create-account, IP address: 
#1  RewardPoints->update() called at [/home/site/public_html/includes/classes/class.base.php:103]
#2  base->notify() called at [/home/site/public_html/includes/modules/create_account.php:594]
#3  include(/home/site/public_html/includes/modules/create_account.php) called at [/home/site/public_html/includes/modules/pages/create_account/header_php.php:17]
#4  require(/home/site/public_html/includes/modules/pages/create_account/header_php.php) called at [/home/site/public_html/index.php:36]
--> PHP Warning: Use of undefined constant NOTIFY_MODULE_CREATE_ACCOUNT_ADDED_CUSTOMER_RECORD - assumed 'NOTIFY_MODULE_CREATE_ACCOUNT_ADDED_CUSTOMER_RECORD' (this will throw an Error in a future version of PHP) in /home/site/public_html/includes/classes/observers/class.reward_points.php on line 36.
22 Sep 2020, 4:54 PM
#330
southshorepizza avatar

southshorepizza

Zen Follower

Join Date:
Sep 2012
Posts:
253
Plugin Contributions:
0

Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread

Any idea on a timeframe for 1.5.7 compatibility?

5 Oct 2020, 2:17 PM
#331
chibipaw avatar

chibipaw

Zen Follower

Join Date:
Jul 2011
Posts:
167
Plugin Contributions:
0

Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread

twitchtoo:

I'm working on a version for 1.56c now with corrections to the known bugs and integration points for commonly installed modules.
Donations are welcomed!
:cheers:

Cant wait. We're grossly behind on this module since 1.56 is already out and most of us who uses this mod is stuck on 1.5.5f
I sure wouldn't mind throwing a few coins your way if you're able to publish a proper working release.

For those who hasn't bothered to read the pervious pages of posts on this thread:
As of Now, Oct 5th 2020. Reward Points Full Suite does not work out of the box for ZC 1.5.6c and definitely does not work at all on 1.5.7

5 Oct 2020, 3:49 PM
#332
elemi avatar

elemi

Zen Follower

Join Date:
Mar 2006
Location:
Auckland, New Zealand
Posts:
242
Plugin Contributions:
0

Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread

Thanks for this wee update - I have Rewards Points on my old 1.3.7 version and I'm currently writing a new site with 1.5.7 and it's a popular tool with my clients :) Happy to donate to this as well.

Elemi

The Art of Bespoke Aromatherapy
https://www.AmorAromatherapy.co.nz

10 Oct 2020, 10:18 PM
#333
lindasdd avatar

lindasdd

Zen Follower

Join Date:
Jun 2007
Posts:
474
Plugin Contributions:
0

Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread

ROQSOLID:

.....zcadmin/reward_points.php

I have been using the module for years in my old store that's 1.5.5 without issue.

The page is completely blank in the new installation.

remove line 13 from admin/reward_points.php and the page will load. The file is trying to pull in another file that was removed a couple Zen-Cart versions back.

10 Oct 2020, 10:21 PM
#334
lindasdd avatar

lindasdd

Zen Follower

Join Date:
Jun 2007
Posts:
474
Plugin Contributions:
0

Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread

DigitalShadow:

[02-Sep-2020 14:25:24 Europe/London] Request URI: /create-account, IP address:
#1 RewardPoints->update() called at [/home/site/public_html/includes/classes/class.base.php:103]
#2 base->notify() called at [/home/site/public_html/includes/modules/create_account.php:594]
#3 include(/home/site/public_html/includes/modules/create_account.php) called at [/home/site/public_html/includes/modules/pages/create_account/header_php.php:17]
#4 require(/home/site/public_html/includes/modules/pages/create_account/header_php.php) called at [/home/site/public_html/index.php:36]
--> PHP Warning: Use of undefined constant NOTIFY_ORDER_DURING_CREATE_ADDED_ORDER_HEADER - assumed 'NOTIFY_ORDER_DURING_CREATE_ADDED_ORDER_HEADER' (this will throw an Error in a future version of PHP) in /home/site/public_html/includes/classes/observers/class.reward_points.php on line 32.

[02-Sep-2020 14:25:24 Europe/London] Request URI: /create-account, IP address:
#1 RewardPoints->update() called at [/home/site/public_html/includes/classes/class.base.php:103]
#2 base->notify() called at [/home/site/public_html/includes/modules/create_account.php:594]
#3 include(/home/site/public_html/includes/modules/create_account.php) called at [/home/site/public_html/includes/modules/pages/create_account/header_php.php:17]
#4 require(/home/site/public_html/includes/modules/pages/create_account/header_php.php) called at [/home/site/public_html/index.php:36]
--> PHP Warning: Use of undefined constant NOTIFY_MODULE_CREATE_ACCOUNT_ADDED_CUSTOMER_RECORD - assumed 'NOTIFY_MODULE_CREATE_ACCOUNT_ADDED_CUSTOMER_RECORD' (this will throw an Error in a future version of PHP) in /home/site/public_html/includes/classes/observers/class.reward_points.php on line 36.


Change lines 32-44 to look like the below. All that has been added is single apostrophe's at the beginning and end of those debug call outs. These changes were provided by swguy:

case 'NOTIFY_ORDER_DURING_CREATE_ADDED_ORDER_HEADER':
$this->StoreRewardPoints($customer_id);
break;

case 'NOTIFY_MODULE_CREATE_ACCOUNT_ADDED_CUSTOMER_RECORD':
if(REWARD_POINTS_NEW_ACCOUNT_REWARD!=0)
if(REWARD_POINTS_NEW_ACCOUNT_REWARD>0 && !HasRewardPoints($customer_id))
$this->AddRewardPoints($customer_id,REWARD_POINTS_NEW_ACCOUNT_REWARD);
else
if(REWARD_POINTS_NEW_ACCOUNT_REWARD<0 && !HasPendingPoints($customer_id))
$this->AddPendingPoints($customer_id,abs(REWARD_POINTS_NEW_ACCOUNT_REWARD));

case 'NOTIFY_LOGIN_SUCCESS':

10 Oct 2020, 10:24 PM
#335
lindasdd avatar

lindasdd

Zen Follower

Join Date:
Jun 2007
Posts:
474
Plugin Contributions:
0

Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread

chibipaw:

For those who hasn't bothered to read the pervious pages of posts on this thread:
As of Now, Oct 5th 2020. Reward Points Full Suite does not work out of the box for ZC 1.5.6c and definitely does not work at all on 1.5.7

I have this working on ZC 1.5.6c in production (and am about to test on 1.5.7), what part of it is not working for you? (also see my last 2 posts)

16 Dec 2020, 10:59 PM
#336
osulywan avatar

osulywan

New Zenner

Join Date:
May 2012
Location:
Dallas, Texas
Posts:
11
Plugin Contributions:
0

Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread

I am working on an upgrade to ZC 1.5.7. My clients customers really love the rewards. Any progress on a version that works on ZC 1.5.7?

BTW I have been trying to make Rewards 2g work with no success.

17 Dec 2020, 3:31 PM
#337
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread

osulywan:

I am working on an upgrade to ZC 1.5.7. My clients customers really love the rewards. Any progress on a version that works on ZC 1.5.7?

BTW I have been trying to make Rewards 2g work with no success.

A 1.56c version is working I haven't packed it up for public release just yet. At this point the 1.57 version will be out early 2021 if charitable or commercial funding continues :)

Thanks to the folks that continue to support our coding efforts!

Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian

18 Dec 2020, 4:16 PM
#338
osulywan avatar

osulywan

New Zenner

Join Date:
May 2012
Location:
Dallas, Texas
Posts:
11
Plugin Contributions:
0

Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread

twitchtoo:

A 1.56c version is working I haven't packed it up for public release just yet. At this point the 1.57 version will be out early 2021 if charitable or commercial funding continues :)

Thanks to the folks that continue to support our coding efforts!

Thanks for the update Twitchtoo. I'll pass this on to my client.

23 Dec 2020, 7:08 PM
#339
jeff_mash avatar

jeff_mash

Totally Zenned

Join Date:
Aug 2004
Posts:
732
Plugin Contributions:
0

Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread

Hey Twitchtoo - I think I may have found a serious "bug" with the how the module interacts with another plugin. I am still working on isolating it, but here's what I suspect.

We are using your Reward Points alongside the One Page Checkout plugin (which allows customers to checkout using a global Guest Account).

I think what is happening is that if Customer A checks out as a guest and earns reward points, it's being assigned to this particular Guest Account. The next customer (Customer B) comes to the site, and when he checks out as a guest, he now has available reward points to use even though he's never shopped here before.

Can you tell me where in your code I can hardcode something that says, "If the Customer ID matches 1234, then don't assign any reward points?"

I think that is the easiest workaround for us. Basically, I can plugin the ID for the Guest Customer (which is always the same), so that if an order is placed using that Customer ID, then no reward points will be rewarded into that account. That way, the next anonymous person who uses it won't get free credit to use.

Thanks in advance.

EDIT - Another option might be to only display reward points to customers if they are logged in. But for now, I need a quick solution to not give away credit to anonymous Guest checkouts (which apparently has been happening in our store for months unnoticed until now).

Currently, I am having a CRON job run a database update every few minutes to zero out any pending/earned points for that Guest Account customer_id, but that's not ideal.

  • Jeff
23 Dec 2020, 7:37 PM
#340
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,110
Plugin Contributions:
56

Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread

Jeff_Mash:

Hey Twitchtoo - I think I may have found a serious "bug" with the how the module interacts with another plugin. I am still working on isolating it, but here's what I suspect.

We are using your Reward Points alongside the One Page Checkout plugin (which allows customers to checkout using a global Guest Account).

I think what is happening is that if Customer A checks out as a guest and earns reward points, it's being assigned to this particular Guest Account. The next customer (Customer B) comes to the site, and when he checks out as a guest, he now has available reward points to use even though he's never shopped here before.

Can you tell me where in your code I can hardcode something that says, "If the Customer ID matches 1234, then don't assign any reward points?"

I think that is the easiest workaround for us. Basically, I can plugin the ID for the Guest Customer (which is always the same), so that if an order is placed using that Customer ID, then no reward points will be rewarded into that account. That way, the next anonymous person who uses it won't get free credit to use.

Thanks in advance.

EDIT - Another option might be to only display reward points to customers if they are logged in. But for now, I need a quick solution to not give away credit to anonymous Guest checkouts (which apparently has been happening in our store for months unnoticed until now).

Currently, I am having a CRON job run a database update every few minutes to zero out any pending/earned points for that Guest Account customer_id, but that's not ideal.
Noting that, as of zc156, there's now a function (zen_in_guest_checkout()) that returns a (bool)true/false to indicate whether/not the checkout is being performed by a guest. The reward_points' order-totals could use that as a clue to 'not enable' if (bool)true is returned.