Solidus appears to assume that payments are not automatically captured. We use auto-capture, so things are somewhat different (some intermediate human/admin steps are skipped).
To enable us to edit the carts of orders before we ship them and to apply the proper corrections to payments we have already captured, I posit that we need to move the order back to the confirm state from complete, which will allow update_cart to recalculate shipments and totals, thus recreating a shipment that's pending rather than ready.
Following the adjustments, the order should go back to complete via order.complete! resulting in charges being issued if quantities were increase, and reassessment of eligible promotions.
Notes about editing orders in admin
Solidus appears to assume that payments are not automatically captured. We use auto-capture, so things are somewhat different (some intermediate human/admin steps are skipped).
To enable us to edit the carts of orders before we ship them and to apply the proper corrections to payments we have already captured, I posit that we need to move the order back to the
confirm
state fromcomplete
, which will allowupdate_cart
to recalculate shipments and totals, thus recreating a shipment that'spending
rather thanready
.Following the adjustments, the order should go back to
complete
viaorder.complete!
resulting in charges being issued if quantities were increase, and reassessment of eligible promotions.