Integrating with new Stripe Checkout or Stripe Payment Intents version?

I have updated the stripe gem successfully on local as follows:

gem 'net-http-persistent', '3.0.1', {require: false}
gem 'stripe', '4.21.3'

And then /discourse$ bundle exec rake db:migrate