summaryrefslogtreecommitdiff
path: root/engines/billing/app/controllers/payments_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'engines/billing/app/controllers/payments_controller.rb')
-rw-r--r--engines/billing/app/controllers/payments_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/billing/app/controllers/payments_controller.rb b/engines/billing/app/controllers/payments_controller.rb
index 4a047ad..871f1b4 100644
--- a/engines/billing/app/controllers/payments_controller.rb
+++ b/engines/billing/app/controllers/payments_controller.rb
@@ -21,9 +21,9 @@ class PaymentsController < BillingBaseController
def confirm
make_transaction
if @result.success?
- flash[:success] = "Congratulations! Your transaction has been successfully!"
+ flash[:success] = I18n.t(:donation_sucess)
else
- flash[:error] = "Something went wrong while processing your donation. Please try again!"
+ flash[:error] = I18n.t(:donation_not_sucess)
end
redirect_to action: :new, locale: params[:locale]
end