The issue does NOT present itself when I normally use a shortcode into a blog post
However, if I’m loading the Gravity Form in via a modal window using do_shortcode() the issue presents itself.
Upon further inspection of the DOM, when going the modal route using do_shortcode(), the iFrame does not load.
Does anyone have any idea what settings need to be changed to get the card number field to appear without issue?
Hi Vishal. When using the gravity_form() function to embed a form, be sure you are also using gravity_form_enqueue_scripts.
It’s mentioned here:
However, even with that, you may have a problem when adding a form in a modal. It’s up to the modal to load all the proper resources, and it sounds like that is not happening. Give this function a try and if it still does not work, I recommend contacting the support for the modal solution you are using to see if there is anything additional you need to do to add a Stripe Card field to a form when the form is in their modal. Thank you.