only reload payments after updating order

This commit is contained in:
Andy Brett
2021-04-09 10:34:42 -07:00
parent 0aad2e0bea
commit 5e3fe5e2a0

View File

@@ -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