diff --git a/app/views/spree/admin/payments/source_forms/_stripe.html.haml b/app/views/spree/admin/payments/source_forms/_stripe.html.haml new file mode 100644 index 0000000000..24bde74a31 --- /dev/null +++ b/app/views/spree/admin/payments/source_forms/_stripe.html.haml @@ -0,0 +1,4 @@ +-# = render "spree/admin/payments/source_forms/gateway", payment_method: payment_method + +%strong + = t('.no_payment_via_admin_backend') diff --git a/app/views/spree/admin/payments/source_views/_stripe.html.haml b/app/views/spree/admin/payments/source_views/_stripe.html.haml new file mode 100644 index 0000000000..64af07bd3b --- /dev/null +++ b/app/views/spree/admin/payments/source_views/_stripe.html.haml @@ -0,0 +1 @@ += render "spree/admin/payments/source_views/gateway", payment: payment diff --git a/config/locales/en.yml b/config/locales/en.yml index 79b375c34e..799e9c402b 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -2130,6 +2130,10 @@ Please follow the instructions there to make your enterprise visible on the Open account_id: Account ID business_name: Business Name charges_enabled: Charges Enabled + payments: + source_forms: + stripe: + no_payment_via_admin_backend: Creating Stripe-based payments from the admin backend is not possible at this time products: new: title: 'New Product'