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:
Justin DiRose 2021-01-06 13:36:50 -06:00 committed by GitHub
parent 8036dba315
commit b6de4a7b67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

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