set currency

This commit is contained in:
Rimian Perkins 2019-11-30 17:44:16 +11:00
parent 57a18f5a4e
commit b1db6e7a4c
2 changed files with 3 additions and 2 deletions

View File

@ -28,6 +28,7 @@ const AdminPlan = Plan.extend({
nickname: this.nickname,
interval: this.interval,
amount: this.amount,
currency: this.currency,
trial_period_days: this.parseTrialPeriodDays,
product: this.product,
metadata: this.metadata,

View File

@ -2,7 +2,7 @@
# name: discourse-patrons
# 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
# authors: Rimian Perkins
@ -41,7 +41,7 @@ end
after_initialize do
::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",