PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Set Transaction ID from WooCommerce/3rd party

  1. I see there is a Transaction ID field when I export entries into CSV.

    My guess is this would be set if I was using the PayPal add-on, but I'm using WooCommerce which actually runs the transactions through InfusionSoft via another plugin.

    But basically the logic is going to be the same -- on the return trip from InfusionSoft, I can store the InfusionSoft Invoice ID in a variable, then I want to write that value into the Transaction ID.

    That way, when we export the entries, I'll be able to look up an order via Transaction ID.

    QUESTION -- can you direct me to the documentation that covers where the transaction ID hooks are so I can set this via my own customized code?

    Posted 11 years ago on Thursday March 28, 2013 | Permalink
  2. You are probably going to have to update the entry after the transaction ID is available, using the gform_after_submission hook. You can use code like this to update an entry after you have the transaction ID: http://pastebin.com/qpgtfhnG

    Posted 11 years ago on Sunday March 31, 2013 | Permalink
  3. Thanks -that is what I was looking for. If you know @lucasstark who developed the WooCommerce plugin... ask him why this isn't already default behavior in his gravity forms woocommerce addon?

    Seems silly to have the ability to collect information in the shopping cart, only to have no transactionID logged to figure out what info is real and what's from abandon cart sessions?

    Further, it would be really nice to also have the add-on go back and delete out the abandoned cart forms.

    I've posted on WooCommerce of course, but I'm not getting any response there.

    Thank you for your time!

    Posted 11 years ago on Monday April 1, 2013 | Permalink
  4. You're welcome. Let us know if you hear back from Woocommerce.

    Posted 11 years ago on Monday April 1, 2013 | Permalink