Now Stripe provides a native support for IFrames with the Elements technology.
My extension uses this technology since the 2.2.0 version.
Checkout and Elements host all form inputs containing card data within an IFRAME served from Stripe’s domain—not yours—so your customers’ card information never touches your servers.
stripe.com/docs/security#validating-pci-compliance