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!

Comments

sabyrodrigues’s picture

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

betz’s picture

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.

morxe’s picture

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

betz’s picture

Status: Active » Closed (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.

dvid-2’s picture

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 ;)

betz’s picture

crashtest_’s picture

Status: Closed (duplicate) » Needs review
StatusFileSize
new2.25 KB

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.

Bilmar’s picture

subscribing

crashtest_’s picture

StatusFileSize
new1.63 KB

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.

robbiew’s picture

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

betz’s picture

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

betz’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

lentreprenaute’s picture

Hi,

September 2010, i meet the same problem. seller don't earn points. What is the actual issue (without patch, that i can't use on xampp windows). i create (worke on it) a marketplace with ubercart and userpoints. Read some old simlar problems in 2008.

Can you please telle where i can check or find the solution. I really spend a lot o time to find the solution by myself ( not always easy when you're not a fluent in english)

Thanks for your help
Florent

lentreprenaute’s picture

Hi,

September 2010, i meet the same problem. seller don't earn points. What is the actual issue (without patch, that i can't use on xampp windows). i create (worke on it) a marketplace with ubercart and userpoints. Read some old simlar problems in 2008.

Can you please telle where i can check or find the solution. I really spend a lot o time to find the solution by myself ( not always easy when you're not a fluent in english)

Thanks for your help
Florent