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
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
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
Not good.. same 0 points.. !!!!!!
#4
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
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
See my reply @ http://drupal.org/node/595890#comment-2193404
#7
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.
#8
subscribing
#9
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.
#10
So -- in order for the seller to be given points, a Conditional Action must be set up separately to do this?
#11
Actually, this issue was about uc_userpoints_product.
I committed the 2 patches, thanks CrashTest_!
#12