Jump to content

Replying to Adding Affiliate Tracking Script To Order Form

Post Options

  or Cancel

Topic Summary


Posted 16 January 2014 - 08:26 AM

Thanks... do you have any suggestions as to which of the "loops" or elements that I should look at that would contain the form data that is bein submitted to stripe?

Elise Alley

Posted 15 January 2014 - 05:54 PM

Hi jmaduk,

At this time, 9seeds WP Affiliate Manager is the only affiliate plugin that works with iThemes Exchange.  

There aren't any settings to make changes to the order form in Exchange at this time.  If you feel comfortable editing the code yourself, you are welcome to do so.  If you need to make changes to template files, you'll find them in /lib/templates.  

Let us know if you have any additional questions.




Posted 15 January 2014 - 11:57 AM

Clarification from PAP integration method with Stripe...

Set The Tracking Cookie: Each customer account in stripe has an extra field called 'description'. In this integration method, we are using it. The task is to add the (tracking) cookie value into the description field. The easiest way is to add this code to your payment form:

When the form is submitted (customer is ordering), you can process form data standard way and before creating a charge and a customer account (Stripe_Customer::create), you have to use the pap_custom data from the form submission and send the value as a customer description - "description" => $_POST['pap_custom']


Posted 15 January 2014 - 11:47 AM

I use Post Affiliate Pro for my Affiliate Tracking and Stripe for payment gateway.  

I've got Exchange setup and working with the stripe addon (thanks I really like the way it works) and need to add a bit of script to the exchange order form to integrate stripe and Post affiliate Pro.

<input type="hidden" name="pap_custom" value="" id="pap_tdx8v2s5a" />
<script id="pap_x2s6df8d" src="http://www.domainname.com/aff/scripts/salejs.php" type="text/javascript">
<script type="text/javascript">

Is there a setting for this or a specific an order from template/script I can edit?

Review the complete topic (launches new window)