- This topic has 3 replies, 3 voices, and was last updated 12 years, 9 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › My sales are not being credited to my 1st and 2nd tier affiliates.
Tagged: WP Affiliate
Hi,
1) My PayPal buy button is located at http://tweetcommunity.com/tweet_examples/
I added in the Add advanced variables section the following lines of code:
<input type=”hidden” name=”notify_url” value=”http://tweetcommunity.com/wp-content/plugins/wp-affiliate-platform/api/ipn_handler.php”>
and
<input type=”hidden” name=”custom” value=”<?php echo $_COOKIE; ?>”>
included in it.
2) The affiliate link http://www.tweetcommunity.com?ap_id=gregtest is a 2nd tier affiliate to http://www.tweetcommunity.com?ap_id=biznessbuilders2012.
3) When the sale is made, neither affiliate account shows a sale and a pending commission.
Appreciate your help….Thank you.
Hi,
I’m assuming that you have tried to integrate a plain paypal button with the WP Affiliate platform – is that right?
Which instructions did you follow when you tried to do the set up?
If you are trying to integrate paypal button with affiliate plugin please use the instructions on this page and choose either option 1 or 2 (NOT BOTH):
Thanks for the reply.
I did follow option 2 only (because I doing recurring payments)Option 2 says to add both lines of custom code….correct?
<input type=”hidden” name=”notify_url” value=”http://tweetcommunity.com/wp-content/plugins/wp-affiliate-platform/api/ipn_handler.php”>
<input type=”hidden” name=”custom” value=”<?php echo $_COOKIE; ?>”>
You can’t add the following line in the “advanced variable” section of the button since it has a PHP code that needs to get executed when your button gets rendered:
<input type="hidden" name="custom" value="<?php echo $_COOKIE['ap_id']; ?>">
See the “Example” code on the documentation which explains how you need to place the button (It has button code example for both hosted and plain HTML button option):