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.

Need to get form object in gform_paypal_fulfillment hook

  1. artstarling
    Member

    Hey,
    I'm integrating PayPall addon with other external service and I really need to have access to Gravity Form object when this hook is fired.

    When Gform_paypal_fulfillment hook is fired I have access to Entry object. On of its fields is ["form_id"]. How can I get Form object by form_id?

    Thanks in advance!

    Posted 12 years ago on Sunday August 19, 2012 | Permalink
  2. artstarling
    Member

    OK, I've found it in the meantime. In case somebody needed it:

    $form = RGFormsModel::get_form_meta($entry['form_id']);
    $form = RGFormsModel::add_default_properties($form);
    Posted 12 years ago on Sunday August 19, 2012 | Permalink
  3. Thank you for the update.

    Posted 12 years ago on Sunday August 19, 2012 | Permalink

This topic has been resolved and has been closed to new replies.