more seed data bits
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Thu, 19 Sep 2013 14:00:44 +0000 (10:00 -0400)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Thu, 19 Sep 2013 14:00:44 +0000 (10:00 -0400)
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.data.stripe-payments.sql

index e983463..28308df 100644 (file)
@@ -3749,7 +3749,7 @@ INSERT into config.org_unit_setting_type
         'Name default credit processor',
         'coust', 'label'),
     oils_i18n_gettext('credit.processor.default',
-        'This might be "AuthorizeNet", "PayPal", etc.',
+        'This might be "AuthorizeNet", "PayPal", "PayflowPro", or "Stripe".',
         'coust', 'description'),
     'string', null)
 
index 3fe093a..e76305a 100644 (file)
@@ -9,7 +9,7 @@ BEGIN;
 --      opac to render a payment form at all
 --  NEW 'credit.processor.stripe.enabled' must be true  (kind of redundant but
 --      my fault for setting the precedent with c.p.{authorizenet|paypal|payflowpro}.enabled)
---  'credit.default.processor' must be 'stripe'
+--  'credit.default.processor' must be 'Stripe'
 --  NEW 'credit.processor.stripe.pubkey' must be set
 --  NEW 'credit.processor.stripe.privatekey' must be set
 
@@ -43,4 +43,9 @@ INSERT into config.org_unit_setting_type
         'coust', 'description'),
     'string', null)
 ;
+
+UPDATE config.org_unit_setting_type
+SET description = 'This might be "AuthorizeNet", "PayPal", "PayflowPro", or "Stripe".'
+WHERE name = 'credit.processor.default' AND description = 'This might be "AuthorizeNet", "PayPal", etc.'; -- don't clobber local edits or i18n
+
 COMMIT;