mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-21 05:09:15 +00:00
reload order's new state after processing payment
This commit is contained in:
@@ -27,6 +27,7 @@ module Spree
|
||||
def show
|
||||
@order = Spree::Order.find_by!(number: params[:id])
|
||||
ProcessPaymentIntent.new(params["payment_intent"], @order).call!
|
||||
@order.reload
|
||||
end
|
||||
|
||||
def empty
|
||||
|
||||
Reference in New Issue
Block a user