Closed (won't fix)
Project:
Ubercart Discount Coupons
Version:
6.x-1.6
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
23 Jun 2011 at 07:22 UTC
Updated:
23 Jun 2011 at 16:42 UTC
Jump to comment: Most recent file
Comments
Comment #1
wodenx commentedThis is because of the way checkout pane processing works - the $order object passed to each pane has the order_total field calculated excluding line-items (see uc_cart.pages.inc line 314).
The attached patch to uc_coupon should be a workaround for your situation - but please note THIS PATCH WILL NOT BE COMMITTED, because there may be other modules/sites which depend on things working as they do now.
Your best bet for a more permanent solution would be to post in the ubercart userpoints issue queue to see if they'd be willing to recalculate the order total to include new line items before validating.