This affects UC 3.3 and uc_coupon 2.1-alpha7 but also the current dev versions of both of those modules. The payment methods do not update correctly via AJAX when a coupon, which reduces the total to zero, has been applied, and then removed, and then applied again, or when a full-balance coupon is applied after a partial discount coupon has been applied earlier.
A rule exists in the checkout/ajax admin pane.
Perhaps it is related to this issue: the information messages that used to say that a coupon has been applied or removed etc no longer show. Also, messages about invalid coupons do not display either. Reloading the page shows the correct payment method (free order), and the totals are correct on order review pages.
I would swear I saw it working at some stage on a dev server, but it is not working at the moment. Where should I start looking to debug this?
Comments
Comment #0.0
Rafal LukawieckiAdded more information.
Comment #0.1
Rafal LukawieckiUpdated with more info.
Comment #0.2
Rafal LukawieckiUpdated
Comment #1
ExTexan CreditAttribution: ExTexan commentedIn my case, the conditions that cause it are not as complicated as stated in the original post.
If I apply a coupon that makes the order total zero, PayPal is still selected as payment method. If I then go to review and then to submit order, I'm taken to PayPal.
However, if I go to review, then click the "Back" button, the payment method shows "free" as it should and the order is processed just fine.