Skip to content

Commit

Permalink
Merge pull request #88 from goinvo/dependabot/bundler/stripe-10.10.0
Browse files Browse the repository at this point in the history
Bump stripe from 5.55.0 to 10.10.0
  • Loading branch information
fermion authored Feb 23, 2024
2 parents 14c242c + fd9ad8f commit 322ca99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ GEM
stimulus-rails (1.3.0)
railties (>= 6.0.0)
stringio (3.1.0)
stripe (5.55.0)
stripe (10.10.0)
tailwindcss-rails (2.0.33-aarch64-linux)
railties (>= 6.0.0)
tailwindcss-rails (2.0.33-arm64-darwin)
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/settings/subscriptions_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def new
def destroy
subscriptions = Stripe::Subscription.list(customer: current_company.stripe_id)
subscriptions.map do |subscription|
Stripe::Subscription.delete(subscription.id)
Stripe::Subscription.cancel(subscription.id)
end

flash[:success] = "Your subscription has been cancelled."
Expand Down

0 comments on commit 322ca99

Please sign in to comment.