User earned 0 points!

dvid - September 17, 2009 - 20:13
Project:Ubercart Userpoints
Version:6.x-2.x-dev
Component:Documentation
Category:support request
Priority:normal
Assigned:Unassigned
Status:fixed
Description

what ever i do i always get the message that the user has earned 0 points.
what am i doing wrong

i have set up userpoints, i have set up ubercart, i have configured the product so it says (product is now woth 10 points)
but when bought the message comes back User earned 0 points!

#1

sabyrodrigues - October 1, 2009 - 13:24

same here .... I am looking out to sell points to users ..... like 1 Product ... $1 .... 1Point ... In Product features :: On product purchase give 1 point ..... Tested the same by checking out ..... no points added

#2

betz - October 5, 2009 - 07:48

have a look at #595890.
The patch was for another issue, but i stumbled on the same bugs.
Please test it out and post your reviews on the issue queue.

#3

morxe - October 9, 2009 - 04:47

Not good.. same 0 points.. !!!!!!

#4

betz - October 20, 2009 - 08:44
Status:active» duplicate

Problem solved with #595890.
I just commited it, give the cvs server few hours so the changes can be downloaded from the project page.

#5

dvid - November 4, 2009 - 21:08

The problem i now have, is the problem that i can say that a product is worth 10 points .
but if i look back after saving the points are 0 again. in the DB the SQL table stays empty.
What is the problem with this ;)

#6

betz - November 6, 2009 - 07:02

#7

CrashTest_ - November 6, 2009 - 18:18
Status:duplicate» needs review

Actually, the problem might still be showing up for people who do not create a predicate that uses the conditional action that the module provides. If there is no predicate, then there is no point at which the system will actually award the points, if I understand it correctly. You can solve this by creating a predicate yourself, or by using the patch below.

This patch creates a default predicate that utilizes the conditional action.

AttachmentSize
uc_userpoints-580684.patch 2.25 KB

#8

trupal218 - November 10, 2009 - 07:50

subscribing

#9

CrashTest_ - November 10, 2009 - 21:29

Also, after working on it at greater length, I have determined that the tid seems to only be getting set to 0, so there isn't an award category being set, even if you create one. So, this patch adds a dropdown to allow selection of a points category, as well as assigning points to that category when doing the actual userpointsapi call.

AttachmentSize
uc_userpoints_award.patch 1.63 KB

#10

robbiew - November 13, 2009 - 22:26

So -- in order for the seller to be given points, a Conditional Action must be set up separately to do this?

#11

betz - November 15, 2009 - 13:47

Actually, this issue was about uc_userpoints_product.
I committed the 2 patches, thanks CrashTest_!

#12

betz - November 15, 2009 - 13:48
Status:needs review» fixed
 
 

Drupal is a registered trademark of Dries Buytaert.