Hi Guys,
I have searched the forum and I am at a complete loss on how to set the WP Affiliate Platform up for PayPal subscription buttons for ongoing commissions..
Each time I enter the custom code from the "Example Button Code for PHP (PayPal hosted button) " into the hosted button at PayPal.com it doesn't copy across to the next page when I save the button and get the button code.
I have entered the snippet of code like this into the "Custom Variables" box:
<input name="notify_url" type="hidden" value="http://www.your-domain.com/wp-content/plugins/wp-affiliate-platform/api/ipn_handler.php" />
<input name="custom" type="hidden" value="<?php echo $_COOKIE['ap_id']; ?>" />
and I have even changed it to this:
notify_url=http://www.your-domain.com/wp-content/plugins/wp-affiliate-platform/api/ipn_handler.php
custom=<?php echo $_COOKIE['ap_id']; ?>
I have also copied the entire code and tried pasting it into the PayPal custom variables section.
Whatever I seem to write there it doesn't show up in the code on the next page page saving the button and retrieving the code to embed to the site.
Regardless of this, I have hardcoded the entire button code in the site as a test button and used it through my own affiliate account I have created.
I get the clicks registering but I don't get the sales registering.
I have even copied the <script> snippet of code above and manually added to the correct section of my PayPal code on my site but still I get the same result.
I have been at this for about 3 hrs now with no progress, could anyone shed any light?
Thanks,
Dave