Hi Brian
Thanks for this module, really handy.
I've written a helper module that registers balance_tracker as a provider for UC Store Credit (http://drupal.org/project/uc_store_credit), this allow users to buy things from an Ubercart store using their balance tracker balance.
It is attached.
Would be great to see this ship with the balance tracker module as I don't think it warrants it's own project.
Lee

CommentFileSizeAuthor
#2 uc_balance_tracker.info224 bytessin
uc_balance_tracker.tar_.gz831 byteslarowlan

Comments

sin’s picture

Just what I was thinking of :) Going to test it.

sin’s picture

StatusFileSize
new224 bytes

Found a bug: the module cant be enabled due to recursive dependency in uc_balance_tracker.info file. A fixed one in the attachment.

sin’s picture

Module works fine, except it charges 1 credit for every $100 in the order even if I put 1 in UC Store Credit conversion rate at /admin/store/settings/payment/edit/methods

I'll debug it later.

I suggest adding more discriptive text + order page hyperlink to Balance Tracker payment message.

brianV’s picture

Status: Needs review » Needs work

This looks great - thanks for the work larowlan & sin.

I've given it a quick review, and I'll likely put it in dev once the bug mentioned in #3 is corrected.

@sin, I would appreciate it if you could follow up with #3 when you have a chance. I suspect that is more likely to be a bug in uc_store_credit.module than this one, but I don't want to fully release this code until it is corrected one way or the other. I would look at it myself, but my plate is far too full to get to that in a reasonable time frame.

sin’s picture

Nevermind, I configured uc_store_credit.module incorrectly setting up fixed value 1 for product node type. Now all works fine.

larowlan’s picture

Thanks, had caught the recursion issue (it's supposed to be uc_store_credit as a dependency).
Re the 100/1 issue, not sure there, I've got it working properly on a site - it could be down to how uc_store_credit is configured?

sin’s picture

Yes, I reconfigured uc_store_credit and now all is ok.

brianV’s picture

Status: Needs work » Fixed

Good to hear.

I placed this module into D6 dev. thanks for the contribution!

Status: Fixed » Closed (fixed)

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