From 829199ffb28d201db198f6ba62350a58b934d213 Mon Sep 17 00:00:00 2001 From: Rimian Perkins Date: Wed, 9 Oct 2019 09:06:12 +1100 Subject: [PATCH] form not rendering --- .../discourse/templates/patrons/index.hbs | 16 +++++++--------- plugin.rb | 4 ++-- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/assets/javascripts/discourse/templates/patrons/index.hbs b/assets/javascripts/discourse/templates/patrons/index.hbs index fb9e813..f131386 100644 --- a/assets/javascripts/discourse/templates/patrons/index.hbs +++ b/assets/javascripts/discourse/templates/patrons/index.hbs @@ -5,12 +5,10 @@ {{cook-text siteSettings.discourse_patrons_payment_page}}

-{{#if siteSettings.discourse_patrons_enabled}} -
- {{donation-form - billing=model - paymentSuccessHandler=(action "paymentSuccessHandler") - stripePaymentHandler=(action "stripePaymentHandler") - }} -
-{{/if}} +
+ {{donation-form + billing=model + paymentSuccessHandler=(action "paymentSuccessHandler") + stripePaymentHandler=(action "stripePaymentHandler") + }} +
diff --git a/plugin.rb b/plugin.rb index 8074f10..2094be2 100644 --- a/plugin.rb +++ b/plugin.rb @@ -2,7 +2,7 @@ # name: discourse-patrons # about: Integrates Stripe into Discourse to allow visitors to make payments -# version: 1.2.2 +# version: 1.2.3 # url: https://github.com/rimian/discourse-patrons # authors: Rimian Perkins @@ -29,7 +29,7 @@ end after_initialize do ::Stripe.api_version = "2019-08-14" - ::Stripe.set_app_info('Discourse Patrons', version: '1.2.2', url: 'https://github.com/rimian/discourse-patrons') + ::Stripe.set_app_info('Discourse Patrons', version: '1.2.3', url: 'https://github.com/rimian/discourse-patrons') [ "../lib/discourse_patrons/engine",