Drupal Userpoints for Ecommerce purchases?

decibel.places's picture

He has: 1,494 posts

Joined: Jun 2008

I tried posting this on the issue queues at d.o. for the e-Commerce and Userpoints-contrib projects, but no response

So maybe someone here has done this, you never know

Simply put, members earn points (it is a tutoring site) for logging in, posting a comment etc. When they accrue enough points, they redeem for one of two shirts (tangible product).

The points are working with custom code in workflow-ng (because the events have to be unique each day to earn points)

Trying to use the points for ecommerce - with the userpoints_contrib module.

In Userpoints I enabled use points for ecommerce, on checkout I see use points for purchase, but the points are not deducted, purchases with insufficient points are processed -

in other words, it ain't happenin

using e-Commerce 5.x-3.x-dev (the recommended stable version) tried some 5.x-4.x versions, and 5.x-3.4 too

Userpoints_contrib 5.x-3.x-dev too

two possible alternatives:

If I make the purchase display a unique confirmation page (not accessible in other ways) I can write more custom wf-ng code to process the points (check if sufficient and reset to 0 on purchase)

I installed the COD payment module and set the confirm redirect page - but that isn't happenin' either

OR

I can try Ubercart (I tried e-Commerce first, there are only 2 products and only a few sales/mo) which is also supposed to integrate with userpoints

Any suggestions?

site (in dev) flydigits dot netsperience dot org

JeevesBond's picture

He has: 3,956 posts

Joined: Jun 2002

I would give it a try with Ubercart, although I've used the userpoints module personally and have found it -- and possibly the satellite modules around it -- to be rather flaky.

Apparently I'm not the only one, Morbus (a well known member of the Drupal community) was complaining about the module on IRC the other day. Apparently he tried giving them some feedback, but they refused to listen. I wasn't 100% paying attention to the conversation, so don't quote me, but that's how I remember it.

Maybe if you could pin down exactly where the problem is occuring, in what module and under what circumstances, you might be able to create a bug report the devs will listen to. Worth a try.

a Padded Cell our articles site!

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.