DEV: Bump Stripe API gem to 5.29.0 (#38)
Bumping the API gem to 5.29.0 and to the latest API version. This takes into account changes in the API over the last few months and also lays the groundwork for some other improvements to the plugin (namely promo codes).
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
|
||||
enabled_site_setting :discourse_subscriptions_enabled
|
||||
|
||||
gem 'stripe', '5.22.0'
|
||||
gem 'stripe', '5.29.0'
|
||||
|
||||
register_asset "stylesheets/common/main.scss"
|
||||
register_asset "stylesheets/common/layout.scss"
|
||||
@@ -44,7 +44,7 @@ load File.expand_path('app/controllers/concerns/stripe.rb', __dir__)
|
||||
load File.expand_path('app/controllers/concerns/group.rb', __dir__)
|
||||
|
||||
after_initialize do
|
||||
::Stripe.api_version = "2019-12-03"
|
||||
::Stripe.api_version = "2020-08-27"
|
||||
|
||||
::Stripe.set_app_info(
|
||||
'Discourse Subscriptions',
|
||||
|
||||
Reference in New Issue
Block a user