Permalink
Browse files

Flash notice added when payment is complete.

  • Loading branch information...
1 parent cf6d859 commit 2ba4f7b4809b239f2ed20790f47e55f6a2150712 @mutalis committed Feb 21, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 app/controllers/paypal_controller.rb
@@ -15,6 +15,8 @@ def confirm
state_callback(:after)
end
#order.finalize!
+ flash[:notice] = I18n.t(:order_processed_successfully)
+ flash[:commerce_tracking] = "nothing special"
redirect_to order_path(current_order)
end
end

0 comments on commit 2ba4f7b

Please sign in to comment.