diff --git a/app/controllers/registrations_controller.rb b/app/controllers/registrations_controller.rb index fa5d2101..0b841998 100644 --- a/app/controllers/registrations_controller.rb +++ b/app/controllers/registrations_controller.rb @@ -110,7 +110,7 @@ def cancel_subscription if current_user.stripe_id.present? customer = Stripe::Customer.retrieve(current_user.stripe_id) customer.subscriptions.each do |sub| - sub.delete + sub.cancel end end end