mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-07 03:01:33 +00:00
Merge pull request #7366 from andrewpbrett/order-workflow-fix
Only reload payments after updating order
This commit is contained in:
@@ -201,7 +201,8 @@ module Spree
|
||||
end
|
||||
|
||||
def update_order
|
||||
order.reload.update!
|
||||
order.payments.reload
|
||||
order.update!
|
||||
end
|
||||
|
||||
# Necessary because some payment gateways will refuse payments with
|
||||
|
||||
Reference in New Issue
Block a user