- 🇧🇪Belgium matthijs
I encounter the same bug and tracked it down to the order changes in
\Drupal\commerce_promotion\Plugin\Commerce\InlineForm\CouponRedemption::applyCoupon
and\Drupal\commerce_promotion\Plugin\Commerce\InlineForm\CouponRedemption::removeCoupon
having no effect on the order in the checkout flow form object.If you add following code (which forces the order to be reloaded in the form object) after saving the order in these methods, the issue is fixed.
This is obviously not the proper fix. I guess the best solution would be to extend
\Drupal\commerce_checkout\Plugin\Commerce\CheckoutFlow\CheckoutFlowBase
with asetOrder
method? - Merge request !421Issue #3107501: Update checkout order after adding or removing a coupon → (Open) created by matthijs
- 🇧🇪Belgium matthijs
matthijs → changed the visibility of the branch 3107501-order-summary-shows to hidden.
- 🇧🇪Belgium matthijs
matthijs → changed the visibility of the branch 3107501-order-summary-shows to active.
- Merge request !422Issue #3107501: Update checkout order after adding or removing a coupon → (Open) created by matthijs
- First commit to issue fork.
- 🇮🇱Israel jsacksick
Considering this breaks tests, updating the status to "Needs work".