Related to #1409620: Invalid option selected. Recalculate shipping quotes to continue. error when using a coupon -- if a checkout pane (in this case uc_coupon) modifies the order total via ajax, that change will not propagate back to uc_quote, which only considers the order was it was when the page initially loaded (and then only it's products).

I think we need to maintain a JS version of the complete order which modules can update when they make ajax changes and which can be posted back by any module which needs to know the current state of the order.

Comments

longwave’s picture

Status: Active » Closed (won't fix)

The checkout Ajax functionality in 6.x-2.x leaves a lot to be desired, but I don't think we can change this now without adversely affecting existing sites, and also it's probably not worth putting the time or effort into development in this branch now. If anyone wants to prove me wrong please feel free to reopen this issue :)