diff --git a/app/controllers/subscriptions_controller.rb b/app/controllers/subscriptions_controller.rb index d45ef093f..754cfbc3a 100644 --- a/app/controllers/subscriptions_controller.rb +++ b/app/controllers/subscriptions_controller.rb @@ -51,9 +51,9 @@ class SubscriptionsController < ApplicationController if checkout_result.success? Current.family.start_subscription!(checkout_result.subscription_id) - redirect_to root_path, notice: "Welcome to Sure! Your subscription has been created." + redirect_to root_path, notice: "Welcome to Sure! Your contribution is appreciated." else - redirect_to root_path, alert: "Something went wrong processing your subscription. Please contact us to get this fixed." + redirect_to root_path, alert: "Something went wrong processing your contribution. Please try again." end end diff --git a/app/views/settings/payments/show.html.erb b/app/views/settings/payments/show.html.erb index a202f5a7d..ca56148ec 100644 --- a/app/views/settings/payments/show.html.erb +++ b/app/views/settings/payments/show.html.erb @@ -13,7 +13,7 @@
<% if @family.has_active_subscription? %>

- Currently on the <%= @family.subscription.name %>. + Currently on the <%= @family.subscription.name %>.
<% if @family.next_payment_date %> <%= t("views.settings.payments.renewal", date: l(@family.next_payment_date, format: :long)) %> diff --git a/test/controllers/subscriptions_controller_test.rb b/test/controllers/subscriptions_controller_test.rb index cb4d1d08a..4599b9530 100644 --- a/test/controllers/subscriptions_controller_test.rb +++ b/test/controllers/subscriptions_controller_test.rb @@ -71,6 +71,6 @@ class SubscriptionsControllerTest < ActionDispatch::IntegrationTest get success_subscription_url(session_id: "test-session-id") assert @family.subscription.active? - assert_equal "Welcome to Sure! Your subscription has been created.", flash[:notice] + assert_equal "Welcome to Sure! Your contribution is appreciated.", flash[:notice] end end