mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Remove error-clearing from edit action
This commit is contained in:
@@ -25,9 +25,6 @@ class SplitCheckoutController < ::BaseController
|
||||
# a version of paypal that uses this controller, and more specifically
|
||||
# the #action_failed method, then we can remove this call
|
||||
# OrderCheckoutRestart.new(@order).call
|
||||
@order.errors.clear
|
||||
@order.bill_address.errors.clear
|
||||
@order.ship_address.errors.clear
|
||||
rescue Spree::Core::GatewayError => e
|
||||
rescue_from_spree_gateway_error(e)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user