New Stripe SCA checkout flow in Rails
问题 I'm struggling with switching my Rails app to the new Stripe checkout flow to accommodate the new SCA regulation. I want to implement the simple dynamic product routine found in this link: https://stripe.com/docs/payments/checkout/migration#api-products-after I can't figure out where to put the different pieces of code. What should go in: - controller -> in which methods - views -> the event show view for example. The form/button the user will click - javascript -> how to pass the right