-
-
Notifications
You must be signed in to change notification settings - Fork 724
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Checkout] Shipping fee not updated after editing order #12907
Comments
Similar to #12880 but the cause is different, openfoodnetwork/app/models/spree/order.rb Lines 516 to 523 in f54552f
Triggered by this callback openfoodnetwork/app/models/spree/order.rb Line 105 in f54552f
openfoodnetwork/app/models/spree/shipment.rb Lines 278 to 291 in f54552f
Triggered by this callback
|
Description
This was found while testing #12880 and might be related to #11360.
If an order is updated by the customer after reaching step 3 of the checkout already, then the shipping fees will only be updated on the order summary page, but it will not be updated on the order confirmation screen and in the email. This results in an incorrect order total (on confirmation screen and in the email).
Expected Behavior
After updating the order, the order total on the order summary page should match the order total on the order confirmation page.
Actual Behaviour
After updating the order, the order total on the order summary page is different than the order total on the order confirmation page. This is because the shipping fee is not updated along with the order.
Steps to Reproduce
Animated Gif/Screenshot
Order summary page after updating the order:
Order confirmation page after completing the order:
Workaround
Severity
bug-s2: a non-critical feature is broken, no workaround
Your Environment
Possible Fix
The text was updated successfully, but these errors were encountered: