I guess this is a cross between a bug and feature request. After adding a coupon, it will only refresh the cart view attached to a pane. This means that if the coupon entry is moved to say the review pane, once added and rules or modules reacting to the price (No Payment comes to mind) do not fire/act because the ajax request targets the line item view specifically.

The coupon module would increase its friendliness by increasing the scope of its refresh to the entire page, or at least offer some sort of Rule plugin to support things that are in direct reliance on the price.


Category:bug» feature

Review pane is out of scope, the "natural" place for placing coupons is the "checkout" step, review should be "read only".

In any case, patches are welcome if there's interest about the feature.

Version:7.x-1.x-dev» 7.x-1.0-beta7

I have an issue where the order total is not updated when rules checks the order balance on the review page. Here is the workflow:

1. Add coupon to checkout page (without the 'add coupon' button), click continue
2. When rules checks the order total on the review page it does not see the new adjusted amount
3. Click back, then continue
4. Now rules sees the correct order total

If I use the ajax 'add coupon' button the order total is correct on the review page. This is a bug bc the review page should have the updated total no matter what method the coupon was added. This is a problem for rules that check the balance to see if the credit card fields should be displayed.

Does that make sense?

Version:7.x-1.0-beta7» 7.x-1.x-dev

Are you adding the coupon in the review page? otherwise it's a completely unrelated problem.

Sorry, no I am adding to the checkout page

Then please don't comment on unrelated issues and open a new one with your support request.

I would also like to see the ajax refresh scope increased. I want to show the zero total payment method when a coupon covers the entire order amount but I'm stumped for a good method of doing this when a single button only allows a single ajax callback. Would be happy to hear any suggested solutions to this problem. I imagine there are other cases where this would be useful as well.

It seems to me that the primary issue here "Coupon Addition only refreshes cart view" applies equally wherever the coupon is being added. The ajax scope is still too limited.