Add admin views for Stripe payment methods

These views were pretty much just copied from https://github.com/spree/spree_gateway
This commit is contained in:
Rob Harrington
2017-08-02 16:56:01 +10:00
parent fab893e60b
commit 11daf89005
3 changed files with 9 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
-# = render "spree/admin/payments/source_forms/gateway", payment_method: payment_method
%strong
= t('.no_payment_via_admin_backend')

View File

@@ -0,0 +1 @@
= render "spree/admin/payments/source_views/gateway", payment: payment

View File

@@ -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'