Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

WP Affiliate – Integrating with Formstack

by

Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › WP Affiliate – Integrating with Formstack

Tagged: cookie, form, formstack, integration

  • This topic has 1 reply, 2 voices, and was last updated 13 years, 9 months ago by amin007.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • August 2, 2011 at 5:15 pm #3961
    lafleurcreative
    Member

    Has anyone attempted to integrate WP Affiliate with a Formstack form? I believe we need to have a hidden field that we can somehow prepopulate with the affiliate’s ID. I’m assuming this would also require placing a bit of PHP or javascript on the page?

    Any guidance would be greatly appreciated as our site relies heavily on the Formstack forms.

    August 3, 2011 at 2:18 am #35062
    amin007
    Participant

    We do not have any integration option with the “Formstack forms” application. We can however tell you how you can retrieve the affiliate ID and add it to a hidden field using PHP. The affiliate ID is stored in a cookie and can be retrieved using the following code:

    <?php
    $aff_id = $_COOKIE['ap_id'];
    echo '<input type="hidden" name="affiliate_id" value="'.$aff_id.'" />';
    ?>

    This 3rd party integration API might come in handy:

    http://www.tipsandtricks-hq.com/wordpress-affiliate/awarding-commission-via-http-get-or-post-189

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ