# capturing Woocommerce forms

**URL:** <https://community.hubspot.com/t/capturing-woocommerce-forms/67714>\
**Category:** APIs & Integrations\
**Created:** [October 24, 2022, 11:17am UTC](https://community.hubspot.com/t/capturing-woocommerce-forms/67714 "2022-10-24T11:17:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![PedroFerreira](https://avatars.discourse-cdn.com/v4/letter/p/c57346/32.png) [@PedroFerreira](https://community.hubspot.com/u/PedroFerreira)\
**Post date:** [October 24, 2022, 11:17am UTC](https://community.hubspot.com/t/capturing-woocommerce-forms/67714/1 "2022-10-24T11:17:25Z")

</div>

Our website is using Woocommerce as payment gateway and we’ve generated the necessary non-hubspot forms to submit purchases to hubspot. However, surely due to the necessary security of the payment gateway, once there is a payment the form is no longer captured on hubspot. Is there way around this problem?

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [October 25, 2022, 3:56pm UTC](https://community.hubspot.com/t/capturing-woocommerce-forms/67714/2 "2022-10-25T15:56:09Z")

</div>

Hi, @PedroFerreira 👋 Thanks for reaching out. Hey, @himanshurauthan, do you have any insights here?

One question, to help clarify, is the issue that:

- Some-but-not-all data is being captured post-payment submission?
- Or not-at-all?

Thank you! — Jaycee

---

<div class="post-metadata">

**Author:** ![PedroFerreira](https://avatars.discourse-cdn.com/v4/letter/p/c57346/32.png) [@PedroFerreira](https://community.hubspot.com/u/PedroFerreira)\
**Post date:** [October 25, 2022, 5:24pm UTC](https://community.hubspot.com/t/capturing-woocommerce-forms/67714/3 "2022-10-25T17:24:59Z")

</div>

Hi [@Jaycee\_Lewis](https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074)

thanks for raising this question, as I hadn’t yet considered that in sufficient detail

I believe no data is being collected post-payment and not sure that’s even possible

will look into it with our web developer though

---

<div class="post-metadata">

**Author:** ![himanshurauthan](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/himanshurauthan/32/53076_2.png) [@himanshurauthan](https://community.hubspot.com/u/himanshurauthan)\
**Post date:** [October 31, 2022, 3:53am UTC](https://community.hubspot.com/t/capturing-woocommerce-forms/67714/4 "2022-10-31T03:53:59Z")

</div>

Hi @PedroFerreira,

Since you are using Woocommerce and a non-HubSpot form for purchases, so in this case what you can do is you can save the form data inside a cookie and after a successful payment response you can sync the form data over HubSpot.

Also what you can do is, you can map your non-HubSpot form fields to a HubSpot form field and collect the form data at the time of submission. Later, them as HubSpot form data using [forms API](https://legacydocs.hubspot.com/docs/methods/forms/submit_form).

Hope this helps!

---

<div class="post-metadata">

**Author:** ![PedroFerreira](https://avatars.discourse-cdn.com/v4/letter/p/c57346/32.png) [@PedroFerreira](https://community.hubspot.com/u/PedroFerreira)\
**Post date:** [November 7, 2022, 9:08pm UTC](https://community.hubspot.com/t/capturing-woocommerce-forms/67714/5 "2022-11-07T21:08:39Z")

</div>

Many thanks  
I’ve passed this on to our webmaster and we’ll be looking into it
