Zen Cart Logo
Forums / All Other Contributions/Addons / Reward Points Module for ZC v13x

Reward Points Module for ZC v13x

Locked

Views: 470,584

Results 261 to 280 of 2,476
This thread is locked. New replies are disabled.
10 Jun 2008, 8:23 AM
#261
hem avatar

hem

Totally Zenned

Join Date:
Sep 2007
Location:
Dublin, Ireland
Posts:
1,281
Plugin Contributions:
5

Reward Points Module for ZC v13x

dscott1966:

Hem,

everything is fine, except one thing when i do a test purchase and the points are pending, when i do the status change they just stay in pending it does not upate and send them to earned. i tried advance and simple.

how do i correct this?

Did you copy over all the latest files as per my PM???

dscott1966:

Also is there away to give reward points for new sign up.

This (and reward points for referrals) will be in the next version which I will start working on once all the issues with the current version have been resolved.

10 Jun 2008, 8:56 AM
#262
hem avatar

hem

Totally Zenned

Join Date:
Sep 2007
Location:
Dublin, Ireland
Posts:
1,281
Plugin Contributions:
5

Re: Reward Points Module for ZC v13x

hem:

Ken- that's as it should be. I've passed a 0 value to the reward_points_display. I'm going to talk to the author of the Google Checkout mod and see if we can't remove it from the actual checkout, but for now at least it is not coming up as a chargeable item.

Here's a quick hack of the googlecheckout.php which adds the reward_points_display module to Google Checkouts list of Order Total mods to ignore. Unfortunately is list is hard coded rather than databased hence the code change.

Just extract the php file to includes/modules/payment/

11 Jun 2008, 1:25 AM
#263
kenwahl avatar

kenwahl

New Zenner

Join Date:
Feb 2008
Posts:
32
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

hem:

Here's a quick hack of the googlecheckout.php which adds the reward_points_display module to Google Checkouts list of Order Total mods to ignore. Unfortunately is list is hard coded rather than databased hence the code change.

Just extract the php file to includes/modules/payment/

Thanks Hem

This change works great. It no longer shows the Rewards points line in Google checkout like before.

I don't know how familiar you are with Google Checkout but it works different than most payment modules. Once the customer goes to Google Checkout (they don't log into zencart) they don't come back to the site. Thus, checkout success page isn't hit. Zen cart gets a notification via responsehandler.php that a purchase was made and passes all the info on the order to zencart. It doesn't seem that something is getting triggered to award them there points when their order is created after notification from the responsehandler. Though it does show how many points were awarded on their invoice.

I have Reward Point Status Track set to:

Pend: [Pending, Processing, Google New, Google Processing] Earn: [Shipped, Google Shipped]

I have both Pending & Processing set because I had a problem with it changing from Pending to Processing so fast that it was like it was never in Pending status and didn't award points.

Thanks
Ken

11 Jun 2008, 8:31 AM
#264
hem avatar

hem

Totally Zenned

Join Date:
Sep 2007
Location:
Dublin, Ireland
Posts:
1,281
Plugin Contributions:
5

Re: Reward Points Module for ZC v13x

kenwahl:

Thanks Hem

This change works great. It no longer shows the Rewards points line in Google checkout like before.

I don't know how familiar you are with Google Checkout but it works different than most payment modules. Once the customer goes to Google Checkout (they don't log into zencart) they don't come back to the site. Thus, checkout success page isn't hit. Zen cart gets a notification via responsehandler.php that a purchase was made and passes all the info on the order to zencart. It doesn't seem that something is getting triggered to award them there points when their order is created after notification from the responsehandler. Though it does show how many points were awarded on their invoice.

I have Reward Point Status Track set to:

Pend: [Pending, Processing, Google New, Google Processing] Earn: [Shipped, Google Shipped]

I have both Pending & Processing set because I had a problem with it changing from Pending to Processing so fast that it was like it was never in Pending status and didn't award points.

Thanks
Ken

Ken, I've checked it out and it's because the responsehandler does not call any of the ZenCart notifiers. As the "store points awarded" code is hooked to NOTIFY_CHECKOUT_PROCESS_AFTER_ORDER_CREATE_ADD_PRODUCTS this is never called and therefore no points get stored. I'm afraid that it's something the Google Checkout team will need to address.

11 Jun 2008, 1:42 PM
#265
kenwahl avatar

kenwahl

New Zenner

Join Date:
Feb 2008
Posts:
32
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

hem:

Ken, I've checked it out and it's because the responsehandler does not call any of the ZenCart notifiers. As the "store points awarded" code is hooked to NOTIFY_CHECKOUT_PROCESS_AFTER_ORDER_CREATE_ADD_PRODUCTS this is never called and therefore no points get stored. I'm afraid that it's something the Google Checkout team will need to address.

Thanks Hem

Thats what I was afraid would be the case.

Just one more question on Google Checkout. Do you think it would be possible in some way to pass the info to Reward Points via Google Checkouts AddThirdPartyTracking in googlecheckout/library/googlecart.php (around line 389)? I know that is what JROX affiliate module has to do. an example line for JROX is:

$cart->AddThirdPartyTracking("www.YOURDOMAIN.com/JAMINSTALLATION/sale.php?",array('trans_id','amount' => 'order-total'));

Thanks
Ken

15 Jun 2008, 9:22 AM
#266
qtiger avatar

qtiger

New Zenner

Join Date:
Oct 2007
Posts:
4
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

hello .. thx for the great work .. i've installed a modified payment module and have a problem when anybody want to buy anything above 1000 it gives me this error" Please make sure you entered the correct card information or contact your Card issuing Bank, then try again."

can you help me please. thanx

15 Jun 2008, 8:24 PM
#267
hem avatar

hem

Totally Zenned

Join Date:
Sep 2007
Location:
Dublin, Ireland
Posts:
1,281
Plugin Contributions:
5

Re: Reward Points Module for ZC v13x

qtiger:

hello .. thx for the great work .. i've installed a modified payment module and have a problem when anybody want to buy anything above 1000 it gives me this error" Please make sure you entered the correct card information or contact your Card issuing Bank, then try again."

can you help me please. thanx

Which payment module is it??? Also have you got the latest Reward Point mod (v1.12c)???

15 Jun 2008, 9:51 PM
#268
qtiger avatar

qtiger

New Zenner

Join Date:
Oct 2007
Posts:
4
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

hem:

Which payment module is it??? Also have you got the latest Reward Point mod (v1.12c)???

yes i have the latest reward system .. and the payment module is not available anywhere.. it's inhouse made. but i just want to know if the reward system has anything to do with this error?

thx for ur prompt help :)

15 Jun 2008, 10:42 PM
#269
hem avatar

hem

Totally Zenned

Join Date:
Sep 2007
Location:
Dublin, Ireland
Posts:
1,281
Plugin Contributions:
5

Re: Reward Points Module for ZC v13x

qtiger:

yes i have the latest reward system .. and the payment module is not available anywhere.. it's inhouse made. but i just want to know if the reward system has anything to do with this error?

thx for ur prompt help :)

Okay- check that your bespoke code is not handling the reward point lines and somehow this is screwing up your bottom line when calling the CC authentication.

17 Jun 2008, 8:15 AM
#270
qtiger avatar

qtiger

New Zenner

Join Date:
Oct 2007
Posts:
4
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

hem:

Okay- check that your bespoke code is not handling the reward point lines and somehow this is screwing up your bottom line when calling the CC authentication.

thx .. i really appreciate it. i'll check with my developers .. thx

17 Jun 2008, 4:32 PM
#271
snowy2008 avatar

snowy2008

New Zenner

Join Date:
May 2008
Posts:
34
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

Hi, my hosting provider uses the following version of the mySQL database : "MySQL 4.0.26-standard" (as reported by Zen).

Is this compatible with the Reward Points module?

Many thanks in advance.

EDIT: I have just checked and I have the option of also using MySQL V5 with my provider. Will that work ok and do you think it will cause any issues with Zen if I migrate the current database from V4 to V5 (there is only test data in there at the moment).

17 Jun 2008, 9:09 PM
#272
hem avatar

hem

Totally Zenned

Join Date:
Sep 2007
Location:
Dublin, Ireland
Posts:
1,281
Plugin Contributions:
5

Re: Reward Points Module for ZC v13x

snowy2008:

Hi, my hosting provider uses the following version of the mySQL database : "MySQL 4.0.26-standard" (as reported by Zen).

Is this compatible with the Reward Points module?

Many thanks in advance.

EDIT: I have just checked and I have the option of also using MySQL V5 with my provider. Will that work ok and do you think it will cause any issues with Zen if I migrate the current database from V4 to V5 (there is only test data in there at the moment).

Sorry it needs MySQL v4.2 minimal. However there should not be any problems using v5- Migration should be trivial too.

18 Jun 2008, 3:40 AM
#273
fiji avatar

fiji

New Zenner

Join Date:
Oct 2007
Posts:
42
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

Andrew,

Did the ver1.12c solve the paypal PIN problem?

Thanks :smile:

18 Jun 2008, 2:24 PM
#274
hem avatar

hem

Totally Zenned

Join Date:
Sep 2007
Location:
Dublin, Ireland
Posts:
1,281
Plugin Contributions:
5

Re: Reward Points Module for ZC v13x

fiji:

Andrew,

Did the ver1.12c solve the paypal PIN problem?

Thanks :smile:

I'm hoping PayPal sorted the IPN problem.

21 Jun 2008, 9:13 PM
#275
jimdi99 avatar

jimdi99

New Zenner

Join Date:
May 2007
Location:
Sarasota
Posts:
6
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

Is there a way to have the reward points based on the net figure after previously awarded points have bewen deducted from the gross rather than always have the points awarded on the gross purchase?

Jim

23 Jun 2008, 1:28 PM
#276
djjase avatar

djjase

New Zenner

Join Date:
Jun 2008
Posts:
29
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

Is there a fix yet for it not calculating correctly at review order stage?

Sub-Total:$125.00

Postage: $9.00 ( 6 - Incl $5.00 P&H. ):

Tax: $12.50GST:

-$10.00Gift Certificates:

-$105.50Value of Redeemed Reward Points:

$155.00Total:

By my calculations it should be $115.50 credit from the reward points and the gift certificate taken away from the sub total.

So it should be

Sub-Total: $125.00
Postage: $9.00
Tax: $12.50
-$10.00 gift voucher
-$105.50 value of rewards

$31.00

Appreciate any help. Thanks

23 Jun 2008, 1:38 PM
#277
rasyr avatar

rasyr

Zen Follower

Join Date:
Aug 2006
Posts:
233
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

hem:

I'm hoping PayPal sorted the IPN problem.

I am still having the same issues with Paypal. If the transaction type is "web_accept", it works fine. However, if the transaction type is "unique", no Reward Points are awarded as Pending, and I have to go back and add them by hand.

23 Jun 2008, 1:45 PM
#278
djjase avatar

djjase

New Zenner

Join Date:
Jun 2008
Posts:
29
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

The problem only seems to happen when your using a coupon/gift certificate.

I just did another test with out redeeming one and it seems to work.

So is there something I need to change for the GV/Rewards system to both be usable at check out stage?

24 Jun 2008, 3:19 AM
#279
ssp711 avatar

ssp711

New Zenner

Join Date:
Aug 2006
Posts:
11
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

hi,

May i know if any body have problem on the product attributes?

as i found that the script don't work very well for the product which as attributes.

e.g. product base price = USD100, one option +USD50

it will count the credit MORE Than USD50.

it seems it will add up all the product attributes price.

i use the 1.3.8a default store data to test.

any idea?

27 Jun 2008, 2:27 AM
#280
tbchampions avatar

tbchampions

New Zenner

Join Date:
Jun 2008
Posts:
1
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

I am setting up a store where products are purchased ONLY with member rewards points.

Whenever a certain event occurs (away from the store), members receive points which they can spend at the store.

I need a way to easily give members their points, have the program add the points to their previous points, and use the points to purchase.

Is this possible with Zen Cart? Is this module what I'm looking for?

I appreciate the help.