Order Preview: AJAX confusion
| Project: | Ubercart Fee |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
installed: uc_fee, uc_taxes, uc_discount_alt
Issue occurs on updating a field to trigger the ajax call. My fee is applied on first load of checkout, but on ajax triggers the fee alternates from being applied and then removed on the next ajax call. This can be see in a simple test where you change the delivery city to 'a' and then to 'aa'. My fee's conditions should always be true -- meaning the fee should be applied to every order.
This appears to just be an order preview issue since once you submit to 'Review Order', everything is correct regardless of whether the fee was showing on the preview or not. This can be confusing to a customer who sees the total without the fee and then the next page shows a fee applied.

#1
I want to add to this: We started using uc_fee to apply fees to different payment methods depending on their location too. We've successfully created the fees and their conditions and they properly apply on the checkout review page.
However, as recrit already mentioned, we would like to see the fee on the checkout page as well which means that when the user changes the payment method there, the list of line items should be updated. Very much like it's done with shipping fees. When you change your shipping address on the checkout form, the shipping fee automatically gets recalculated.
Hope something similar could be done with fees in general.
Any thoughts?
#2
This should be fixed in CVS. Re-releasing shortly.
#3
#4
Automatically closed -- issue fixed for 2 weeks with no activity.