diff --git a/app/views/spree/admin/payment_methods/_form.html.erb b/app/views/spree/admin/payment_methods/_form.html.erb index df01f113f6..e6cc4d709d 100644 --- a/app/views/spree/admin/payment_methods/_form.html.erb +++ b/app/views/spree/admin/payment_methods/_form.html.erb @@ -58,6 +58,18 @@ <% unless @object.new_record? %>
+ + <% if @object.respond_to?(:payment_configuration_guide) %> +
+
+
<%= Spree.t(:payment_method_configuration) %>
+
+
+ <%= render "spree/admin/payment_methods/configuration_guides/#{@object.payment_configuration_guide}" %> +
+
+ <% end %> +
<%= Spree.t(:payment_provider_settings) %>
diff --git a/config/locales/en.yml b/config/locales/en.yml index 435aeeda45..fdbca3398f 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -339,3 +339,6 @@ en: taxes_section: message_with_taxes: You're tax calculation is setup! message_without_taxes: You can use tax services such as TaxJar or setup tax calculation manually + payment_methods: + edit: + payment_method_configuration: "Payment Method Configuration"