You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure about this. Yes, we can remove order.create_shipment!. And without creating a shipment, we don't need to check if the shipping method needs a shipment. But what about the Paypal issue? Has there been a survey to ask everyone if we can get rid of it?
As described in
go_to_state :payment
inhttps://community.openfoodnetwork.org/t/order-model-step7/979, Spree now creates
shipment objects out of packages in memory, which then presents in a form that
are going to be persisted when the user submits the form. Check it out in
283654d4a330924b171441427b26ce89469b4b04.
As a result, we can get rid of https://github.com/openfoodfoundation/openfoodnetwork/blob/master/app/models/spree/order_decorator.rb#L34
EDIT
Turns out that due to https://trello.com/c/jQuW8D5A and https://trello.com/c/prYaoPlB we can get rid of the whole custom
checkout_flow
The text was updated successfully, but these errors were encountered: