Hello,
First of all, great module. It's going to be a life-saver for me.
One thing that I noticed is that, as far as I know, there's no way of preventing users from going through the entire checkout process and completing an order when they don't have enough userpoints for that product. For my site I'll only be using userpoints as a currency to purchase products that hold real value, so it's important that there's no loopholes for making purchases with an insufficient amount of points.
I'd like to be able to redirect users who try to reach the checkout page without enough userpoints to a different page and to display a brief error message explaining the situation. In my case it would redirect to a page with details about how to get more points.
Thanks,
Comments
Comment #1
bmagistro commentedAt line 190 in the payment.module file is the balance check. You are the second person to tell me that this is not working again. I plan on doing some checking this week still.
Comment #2
dbirider commentedYep, just checked out the module code. The feature on line 190 seems like just what I was describing. As far as I can tell, it's not working at all on my site. I'll see if I can play around with it a bit and figure something out.
Thanks,
Comment #3
bmagistro commentedI am marking this as fixed per the notes at the end of this issue: http://drupal.org/node/254785.