mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-15 23:57:48 +00:00
advance order after processing payment intent
This commit is contained in:
@@ -11,7 +11,8 @@ class ProcessPaymentIntent
|
||||
return unless valid?
|
||||
|
||||
last_payment.update_attribute(:cvv_response_message, nil)
|
||||
last_payment.complete!
|
||||
OrderWorkflow.new(@order).next
|
||||
last_payment.complete! if !last_payment.completed?
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
Reference in New Issue
Block a user