Jump to content

Welcome to the forum:

Welcome to the iThemes, PluginBuddy and WebDesign.com forum. We've created several tutorial video's to help you get you started with using the forum, please check them out!

Also take note of the forum guidelines.

Support hours:

Our moderators actively respond to forum support requests during normal business hours which are Monday-Friday, 8am - 5pm Central Standard Time, typically within one business day. Although some moderators choose to work during the weekends, we can not guarantee immediate attention to your requests. Thanks for understanding.

What is included with support:

Premium support includes theme/plugin issues such as: bugs encountered under normal operation, how to use basic features, basic WordPress help, and basic help with customization (meaning we point you to resources and will help in more depth as time allows). More information.

Adding Affiliate Tracking Script To Order Form

3 replies to this topic

#1 jmaduk



  • Members
  • PipPip
  • 10 posts

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?

#2 jmaduk



  • Members
  • PipPip
  • 10 posts

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']

#3 Elise Alley

Elise Alley

    iThemes Support

  • Administrators
  • Others: All Plugins, All Themes, Members, Moderators, Toolkit, Webdesign
  • 6,452 posts
  • LocationOklahoma City, OK

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.



#4 jmaduk



  • Members
  • PipPip
  • 10 posts

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?

Reply to this Topic

If this topic is marked RESOLVED or INFORMATION, or if you are NOT experiencing EXACTLY the same issue, please start a new topic to provide the details of your problem. If the solution provided doesn't work for you, you should start a new topic. If you feel this thread contains relevant information, you may include a link to it in your new topic. To ensure that we can process your support request efficiently, ALWAYS include a link to your site, and/or the page your request is related to. When posting your question or request on the forum, please be as concise and specific as possible. The shorter and more to the point you can make your request, the better.

For BackupBuddy related issues, be sure to include the status log from your most recent backup.

CLICK HERE to start a new topic in the Exchange Add-on - Stripe forum.


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users