diff --git a/app/views/settings/payments/show.html.erb b/app/views/settings/payments/show.html.erb index ac0184cea..95628cacd 100644 --- a/app/views/settings/payments/show.html.erb +++ b/app/views/settings/payments/show.html.erb @@ -59,7 +59,14 @@
<%= image_tag "stripe-logo.svg", class: "w-5 h-5 shrink-0" %> -

Payment via Stripe

+

+ Payment via Stripe + (<%= link_to "one-time contribution here", + "https://buy.stripe.com/3cIcN6euM23D7GQ3wT97G00", + class: "font-medium text-primary hover:underline transition", + target: "_blank", + rel: "noopener" %>) +

<% end %> diff --git a/test/controllers/settings/payments_controller_test.rb b/test/controllers/settings/payments_controller_test.rb index fc0a34760..ff4ba4a48 100644 --- a/test/controllers/settings/payments_controller_test.rb +++ b/test/controllers/settings/payments_controller_test.rb @@ -18,5 +18,6 @@ class Settings::PaymentsControllerTest < ActionDispatch::IntegrationTest get settings_payment_path assert_response :success + assert_select "a[href=?]", "https://buy.stripe.com/3cIcN6euM23D7GQ3wT97G00", text: "one-time contribution here" end end