mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-08 22:56:06 +00:00
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