app/controllers/spree/affirm_controller.rb in spree_affirm-0.2.21 vs app/controllers/spree/affirm_controller.rb in spree_affirm-0.2.22
- old
+ new
@@ -62,10 +62,10 @@
while order.next; end
if order.completed?
session[:order_id] = nil
flash.notice = Spree.t(:order_processed_successfully)
- flash[:commerce_tracking] = "nothing special"
+ flash[:order_completed] = true
redirect_to completion_route order
else
redirect_to checkout_state_path(order.state)
end
end