At the moment of writing, we are considering to load the Stripe JS code in the confirm step to be sure that when requested, we can load the 3DSecure page to confirm the order.
We are doing that by using the new payment info partial introduced in https://github.com/solidusio/solidus_starter_frontend/pull/334. But this will render the same partial in the thank you page. We are safe because we are loading the JS conditionally only on the confirm page within that partial, but that's not a practice to encourage: developers could think that the partial is only loaded on the confirm step, and forget about that check, which might have unexpected implications.
Desired Behavior
At the moment of writing, we are considering to load the Stripe JS code in the confirm step to be sure that when requested, we can load the 3DSecure page to confirm the order.
We are doing that by using the new payment info partial introduced in https://github.com/solidusio/solidus_starter_frontend/pull/334. But this will render the same partial in the thank you page. We are safe because we are loading the JS conditionally only on the confirm page within that partial, but that's not a practice to encourage: developers could think that the partial is only loaded on the confirm step, and forget about that check, which might have unexpected implications.