APIs & Integrations

PieterVHeerden
Membre

Iframe with our custom form not submitting data to 3rd party api

we have a website outside hubspot that allows us to create tickets for our customers. 

 

We have embedded this same page from our external website into an iFrame using the custom card development in Hubspot.

 

  1. click on capture new ticket. this will open iframe that show our external page hosted outside hubspot
  2. PieterVHeerden_1-1674741695379.png

     

  3. fill out the fields and submitsPieterVHeerden_0-1674741568107.png
  4. the ticket is not logged.
  5. When we do this by going to the page directly externally and create the ticket there its works 100%

We are using Kendo UI controls and submitting form data + attachments when the user hits the submit button.

 

Could Hubspot be blocmking or doing something that is breaking this functionality in the iframe?

 

0 Votes
3 Réponses
PieterVHeerden
Membre

Iframe with our custom form not submitting data to 3rd party api

So it seems the problem was that an Iframe does not work with session data. We had some session variables we set, and in the iframe, they come back as blank/null.

 

Not sure if this is applicable only to iframe inside Hubspot?

Anything we can do in hubspot (settings) or should we change our code?

0 Votes
Jaycee_Lewis
Gestionnaire de communauté
Gestionnaire de communauté

Iframe with our custom form not submitting data to 3rd party api

Hey, @PieterVHeerden 👋 Thanks for the question. Hey, @himanshurauthan have you run into similar issues? 

 

Thanks for looking! — Jaycee

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

0 Votes
PieterVHeerden
Membre

Iframe with our custom form not submitting data to 3rd party api

Please let me know if this is not enough detail and I can try to add more if you tell me what might help

0 Votes