title: New Stripe SCA checkout flow in Rails
body: <p>I'm struggling with switching my Rails app to the new Stripe checkout flow to accommodate the new SCA regulation.</p>
  
  <p>I want to implement the simple dynamic product routine found in this link: <a href="https://stripe.com/docs/payments/checkout/migration#api-products-after" rel="nofollow noreferrer">https://stripe.com/docs/payments/checkout/migration#api-products-after</a></p>
  
  <p>I can't figure out where to put the different pieces of code. What should go in:
  - controller -> in which methods<br>
  - views -> the event show view for example. The form/button the user will click<br>
  - javascript -> how to pass the right session id
  - controller again -> implementing the success and error use cases</p>
  
  <p>The Stripe tech support just sent me to the documentation link above so I would really appreciate some help here.</p>