form not rendering

This commit is contained in:
Rimian Perkins 2019-10-09 09:06:12 +11:00
parent 40924d0e98
commit 829199ffb2
2 changed files with 9 additions and 11 deletions

View File

@ -5,12 +5,10 @@
{{cook-text siteSettings.discourse_patrons_payment_page}}
</p>
{{#if siteSettings.discourse_patrons_enabled}}
<div class="donations-page-payment">
{{donation-form
billing=model
paymentSuccessHandler=(action "paymentSuccessHandler")
stripePaymentHandler=(action "stripePaymentHandler")
}}
</div>
{{/if}}
<div class="donations-page-payment">
{{donation-form
billing=model
paymentSuccessHandler=(action "paymentSuccessHandler")
stripePaymentHandler=(action "stripePaymentHandler")
}}
</div>

View File

@ -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",