mirror of
https://github.com/discourse/discourse-subscriptions.git
synced 2025-07-08 15:22:46 +00:00
set currency
This commit is contained in:
parent
57a18f5a4e
commit
b1db6e7a4c
@ -28,6 +28,7 @@ const AdminPlan = Plan.extend({
|
|||||||
nickname: this.nickname,
|
nickname: this.nickname,
|
||||||
interval: this.interval,
|
interval: this.interval,
|
||||||
amount: this.amount,
|
amount: this.amount,
|
||||||
|
currency: this.currency,
|
||||||
trial_period_days: this.parseTrialPeriodDays,
|
trial_period_days: this.parseTrialPeriodDays,
|
||||||
product: this.product,
|
product: this.product,
|
||||||
metadata: this.metadata,
|
metadata: this.metadata,
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# 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: 2.3.1
|
# version: 2.3.2
|
||||||
# url: https://github.com/rimian/discourse-patrons
|
# url: https://github.com/rimian/discourse-patrons
|
||||||
# authors: Rimian Perkins
|
# authors: Rimian Perkins
|
||||||
|
|
||||||
@ -41,7 +41,7 @@ end
|
|||||||
|
|
||||||
after_initialize do
|
after_initialize do
|
||||||
::Stripe.api_version = "2019-11-05"
|
::Stripe.api_version = "2019-11-05"
|
||||||
::Stripe.set_app_info('Discourse Patrons', version: '2.3.1', url: 'https://github.com/rimian/discourse-patrons')
|
::Stripe.set_app_info('Discourse Patrons', version: '2.3.2', url: 'https://github.com/rimian/discourse-patrons')
|
||||||
|
|
||||||
[
|
[
|
||||||
"../lib/discourse_patrons/engine",
|
"../lib/discourse_patrons/engine",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user