Add 'Stripe is in Beta' warning

This commit is contained in:
Rob Harrington
2017-08-04 12:41:19 +10:00
parent b31881baa5
commit 4fb1c7fd92
2 changed files with 3 additions and 0 deletions

View File

@@ -6,6 +6,8 @@
%fieldset.no-border-bottom
%legend
= t('.settings')
.alert-box.warning
= t(".stripe_beta_warning")
= form_for @settings, as: :settings, url: main_app.admin_stripe_connect_settings_path, :method => :put do |f|
.row
.twelve.columns.alpha.omega

View File

@@ -748,6 +748,7 @@ en:
edit:
title: "Stripe Connect"
settings: "Settings"
stripe_beta_warning: "Warning: The Stripe Connect integration is currently in beta and should not be enabled in production yet"
stripe_connect_enabled: Enable shops to accept payments using Stripe Connect?
no_api_key_msg: No Stripe account exists for this enterprise.
configuration_explanation_html: For detailed instructions on configuring the Stripe Connect integration, please <a href='https://github.com/openfoodfoundation/openfoodnetwork/wiki/Setting-up-Stripe-on-an-OFN-instance' target='_blank'>consult this guide</a>.