tbcooney said over 5 years ago on More on Stripe and Subscriptions :
Extending this logic to the `Resubscriptions` controller, you may find something like ``` subscription = current_company.stripe_customer.subscriptions.first Stripe::Subscription.update( subscription.id, { cancel_at_period_end: false } ) ```