Skip to content

Commit

Permalink
Flash notice added when payment is complete.
Browse files Browse the repository at this point in the history
  • Loading branch information
mutalis committed Feb 21, 2011
1 parent cf6d859 commit 2ba4f7b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/controllers/paypal_controller.rb
Expand Up @@ -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
Expand Down

0 comments on commit 2ba4f7b

Please sign in to comment.