I came across a use case where we needed payment form in popup. And we have implemented a simple api to fetch forms on that page. And to add scripts and styles on page we are using gravity_form_enqueue_scripts function. But it seems to be not working with the stripe payments.
I found that Feed addon hook is not adding the js to the page. This is the function “register_frontend_feeds_init_script” hooked to ‘gform_register_init_scripts’ … I have tried making it hook late but it is still not working. Can you please help???
I tried setting priority to 99999999 but still nothing.
We are fetching forms using ajax and here is our sample code: