User Points integration with Ecommerce

Sponsored Links

User Points integration with Ecommerce

I just released a new version of User Points which interfaces with Drupal's Ecommerce module.

It allows many forms of interaction between those two modules, including:

  • Users can purchase points for real money. If the site admin sets up a non-shippable product, users can add it to their cart and pay for it as they do for a real item. A configurable multiplier factor allows one unit of currency to give the user more than one user point. This can be useful when used with certain other modules, for example my job search module, where employers pay to post jobs on a per node basis, or job seekers pay for posting resumes on a per resume basis.
  • Users can use their points as a method for purchasing. They accumulate points by posting to the site, moderating, commenting, ...etc. and they they can use their hard earned points for other things. For example, they can redeem their points for additional roles on the site where they can access more content, or they can use it to pay for recurring subscriptions.
  • Users who purchase merchandise or services from the site, can gain "reward points" for their purchase, and they can use that for future purchases. This is in addition to the psychological factor that we all fall for that we got something extra when we bought  the main thing.

Of course, users cannot use points to purchase points.

The above allows for some very creative community building usage, such as providing a web site specific currency (Republic Credits?), providing incentive for users to be more involved in the web site by posting, and moderating. 

I also updated a module I wrote a while ago, the COD (Cash on Delivery) module, to add a few more options (whet her to to mark the transaction as paid instantly, whether to mark the workflow as completed for non-shippable items, ...etc.)

I  have to compliment Matt Westgate for a well thought out API for the ecommerce suite. 

Hi Khalid,

Hi Khalid,

Sounds exceptionally useful.

By the way, where is the COD module?

Thanks,
Ramdak

In ecommerce contrib

It is part of the ecommerce module, under the contrib directory.
--
Khalid Baheyeldin

Module version

Hi Khalid,

Excellent work!

Is this functionality available in 4.6.0 ?
Is it ok to install 4.7.0 module in drupal 4.6.0 install ?

Thanks, Darly

It is

It is already in 4.6.
--
Khalid Baheyeldin

What about Übercart

What about Übercart integration? That would be very nice...

Patch?

I don't use ubercart, and no client has expressed interest so far.

So, it will have to be a patch submitted by someone who knows ubercart.

-- Khalid Baheyeldin

Bug in userpoints_ecommerce.module

Hi Khalid,
please change all the %Points and %points with !Points and !points when retrieving the translation placeholders
NOW: '#title' => t('%Points awarded for buying (multiplied by price)', userpoints_translation()),

CORRECTED: '#title' => t('!Points awarded for buying (multiplied by price)', userpoints_translation()),

Open an issue

Please open an issue on drupal.org and attach a working patch.

-- Khalid Baheyeldin

userpoints to purchase and not for shipping

hi Khalid,

Can we have userpoints to purchase and not for shipping? i am using drupal 5.x with drupal's ecmmerce module with your userpoint module.

Submit a feature request

I don't have time to work on it, nor do I have a client who wants this feature.

So, submit a feature request on drupal.org, and maybe someone will write a patch.

-- Khalid Baheyeldin

Post new comment

  • All spam and irrelevant comments will be deleted.
  • Comments posted here will take some time to appear on the site. Do not post your comment again if you do not see it. Just be patient and it will be published.
  • Note that what you post here will be publicly available on the web and will be indexed in search engines.
  • We reserve the right to unpublish any comments without stating the reasons for that.
  • All postings are subject to our Terms of use
The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote>
  • Lines and paragraphs break automatically.

More information about formatting options