merge master
This commit is contained in:
commit
48af25b707
|
@ -5,10 +5,12 @@
|
||||||
{{cook-text siteSettings.discourse_patrons_payment_page}}
|
{{cook-text siteSettings.discourse_patrons_payment_page}}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="donations-page-payment">
|
{{#if siteSettings.discourse_patrons_enabled}}
|
||||||
|
<div class="donations-page-payment">
|
||||||
{{donation-form
|
{{donation-form
|
||||||
billing=model
|
billing=model
|
||||||
paymentSuccessHandler=(action "paymentSuccessHandler")
|
paymentSuccessHandler=(action "paymentSuccessHandler")
|
||||||
stripePaymentHandler=(action "stripePaymentHandler")
|
stripePaymentHandler=(action "stripePaymentHandler")
|
||||||
}}
|
}}
|
||||||
</div>
|
</div>
|
||||||
|
{{/if}}
|
||||||
|
|
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
# name: discourse-patrons
|
# name: discourse-patrons
|
||||||
# about: Integrates Stripe into Discourse to allow visitors to make payments and Subscribe
|
# about: Integrates Stripe into Discourse to allow visitors to make payments and Subscribe
|
||||||
# version: 1.2.1
|
# version: 1.2.2
|
||||||
# url: https://github.com/rimian/discourse-patrons
|
# url: https://github.com/rimian/discourse-patrons
|
||||||
# authors: Rimian Perkins
|
# authors: Rimian Perkins
|
||||||
|
|
||||||
enabled_site_setting :discourse_patrons_enabled
|
enabled_site_setting :discourse_patrons_enabled
|
||||||
|
|
||||||
gem 'stripe', '5.2.0'
|
gem 'stripe', '5.6.0'
|
||||||
|
|
||||||
register_asset "stylesheets/common/discourse-patrons.scss"
|
register_asset "stylesheets/common/discourse-patrons.scss"
|
||||||
register_asset "stylesheets/mobile/discourse-patrons.scss"
|
register_asset "stylesheets/mobile/discourse-patrons.scss"
|
||||||
|
@ -32,7 +32,7 @@ end
|
||||||
|
|
||||||
after_initialize do
|
after_initialize do
|
||||||
::Stripe.api_version = "2019-08-14"
|
::Stripe.api_version = "2019-08-14"
|
||||||
::Stripe.set_app_info('Discourse Patrons', version: '1.2.1', url: 'https://github.com/rimian/discourse-patrons')
|
::Stripe.set_app_info('Discourse Patrons', version: '1.2.2', url: 'https://github.com/rimian/discourse-patrons')
|
||||||
|
|
||||||
[
|
[
|
||||||
"../lib/discourse_patrons/engine",
|
"../lib/discourse_patrons/engine",
|
||||||
|
|
Loading…
Reference in New Issue