We've recently implemented Stripe for customers to checkout. However, using Cypress to automate our regression tests was incredibly painful as the fields are inside an iframe (and, for some reason, automation tools seem to struggle with iframes).
This Medium article by Bartek Golota put us on the right path but wasn't the entire solution, as it could only ever find the first field and then would just error out.
So, whilst this may not be the most streamlined solution (below), it worked for us... and it might help others in future.