I am using Stripe elements payment form in my code. While doing testing in Galen, we have to switch to the iframe to fill the payment information and test the entire flow. But, iOS doesn't allow us to switch iframes due to its CORS policy.
Is there any way to prefill the information in the payments form so that we can test our code in iOS?
No, by design you cannot prefill payment information in Stripe Elements. If you could then that'd be a security risk.