Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › WP Affiliate Troubleshooting › Affiliate Program and Direct PayPal Integrtion – Not registered affiliate sales
- This topic has 7 replies, 3 voices, and was last updated 11 years, 9 months ago by admin.
-
AuthorPosts
-
January 20, 2013 at 2:00 am #8371wildsisterMember
Hi everyone,
I’ve recently installed the plugin on the website here: [http://wildsister.com/summer-deal/]
Everything seems to be correctly installed, but I’ve already sold a few test items under my own affiliate ID but it won’t register the sale for the affiliate. The sale comes through fine, but there’s no affiliate ID listed next to the sale. And I definitely tested it with the affiliate ID URL (although I did it through TinyUrl, so I don’t know if this would make a difference or not).
Here is the code I have in place on the page:
<form style=”padding-left: 240px;” action=”https://www.paypal.com/cgi-bin/webscr” method=”post”><input type=”hidden” name=”cmd” value=”_s-xclick” />
<input type=”hidden” name=”hosted_button_id” value=”PWJBF9JJJUTTL” />
<input type=”image” alt=”PayPal — The safer, easier way to pay online.” name=”submit” src=”http://wildsister.com/wp-content/uploads/2013/01/wssummerdealbuynow1.png” />
<img alt=”” src=”http://wildsister.com/wp-content/uploads/2013/01/wssummerdealbuynow1.png” width=”1″ height=”1″ border=”0″ />
<input type=”hidden” name=”notify_url” value=”http://wildsister.com/wp-content/plugins/wp-affiliate-platform/api/ipn_handler.php” />
<input type=”hidden” name=”custom” value=”<?php echo $_COOKIE; ?>” /></form>
I also have the PHP plug in installed.
I tried out the debug log and it says this:
[01/20/2013 1:01 AM] – SUCCESS :Paypal Class Initiated by 173.0.81.1
[01/20/2013 1:01 AM] – SUCCESS :Post string :[redacted]
[01/20/2013 1:01 AM] – SUCCESS :Connection to http://www.paypal.com successfuly completed.
[01/20/2013 1:01 AM] – SUCCESS :IPN successfully verified.
[01/20/2013 1:01 AM] – SUCCESS :Creating product Information to send.
[01/20/2013 1:01 AM] – SUCCESS :Subscription signup IPN received… nothing to do here(handled by the subscription IPN handler if implemented)
[01/20/2013 1:01 AM] – SUCCESS :Paypal class finished.
[01/20/2013 1:01 AM] – SUCCESS :Paypal Class Initiated by 173.0.81.1
[01/20/2013 1:01 AM] – SUCCESS :Post string :[redacted]
[01/20/2013 1:01 AM] – SUCCESS :Connection to http://www.paypal.com successfuly completed.
[01/20/2013 1:01 AM] – SUCCESS :IPN successfully verified.
[01/20/2013 1:01 AM] – SUCCESS :Creating product Information to send.
[01/20/2013 1:01 AM] – SUCCESS :Transaction Type: Buy Now/Subscribe
[01/20/2013 1:01 AM] – SUCCESS :Updating Affiliate Database Table with Sales Data if Using the WP Affiliate Platform Plugin.
[01/20/2013 1:01 AM] – SUCCESS :WP Affiliate Platform is installed, registering sale…
[01/20/2013 1:01 AM] – SUCCESS :Gross sale amount: 10.00 Tax: 0 Shipping: 0
[01/20/2013 1:01 AM] – SUCCESS :Aff Details=> Referrer: <?php echo $_COOKIE[‘ap_id’]; ?> Sale Amt: 10 Buyer Email: collettd@netspace.net.au Txn ID: 3MD84763RR0464205
[01/20/2013 1:01 AM] – SUCCESS :Paypal class finished.
On the debug log is just says: <?php echo $_COOKIE[‘ap_id’]; ?> for the referrer, instead of my actual affiliate ID.
Could the problem be because I don’t have the ‘Enable third party cart integration’ option selected? Or is there something wrong with the code?
Thank you so much for your help!
Mike
January 20, 2013 at 11:08 pm #53199adminKeymasterOn the debug log is just says: <?php echo $_COOKIE[‘ap_id’]; ?> for the referrer, instead of my actual affiliate ID.
Yes that is the issue. That PHP code is not getting executed on your page. Remember PHP code won’t be executed if you don’t have PHP execution enabled in your WP Post or Page. Check the “Important Note” section from the following documentation which has more info:
When the PHP code gets executed on your page, the button will have the affiliate ID and not just that PHP code. For example, if you do a view source and go to the line of that custom field, you should see the affiliate Id instead of
<?php echo $_COOKIE['ap_id']; ?>
January 21, 2013 at 10:23 am #53200wildsisterMemberI’ve fixed it! Thank you SO MUCH for your help!!
I took your advice and checked the PHP plugin. It turns out that I installed and activated the plugin, but I didn’t actually go into the settings to configure it properly. So I guess it was an obvious error that was easily fixed, haha.
But it looks like that was only half the error. I scoured through your other forum posts and came across something interesting about WordPress automatically converting any < or > into < and >. I pasted the code directly into the HTML section of WordPress (as opposed to the Visual editor), but it still showed up as < and >. So I went through and changed them all into < and >. Then I went onto the page, right-clicked the link and went to ‘Inspect Element’ and then it showed the value as the affiliate ID instead of code. So, once again, thank you so much for your help!!
However, there is one more issue I’ve come across: Affiliates are having a slight problem when registering. I had reCAPTCHA turned on, but everytime an affiliate signed up it would tell them that the reCAPTCHA image didn’t work. However, it would actually register the affiliate account in the end. So I disabled reCAPTCHA, but it now just says that the affiliate ID is in use. Once again, it will register their account without any real problems, but it will tell them that the ID is in use when it is really free. So the affiliate will then make another account, and another, until they have about 10 active IDs and then they decide to email me. I’ve checked the settings but everything seems ok. Do you have any thoughts or suggestions?
Thanks again!
January 21, 2013 at 11:17 pm #53201adminKeymasterGlad to hear you fixed the commission tracking issue.
Regarding the other issue… I suspect the ajax queries are getting blocked. Can you please load a fresh copy of the plugin first:
https://support.tipsandtricks-hq.com/forums/topic/re-install-or-load-a-fresh-build-of-the-plugins
Then share the URL of the affiliate signup page so I can check a few things there.
January 24, 2013 at 11:43 pm #53202wildsisterMemberThanks again! It works!
I deleted and updated the plugin and now everything is fine. I’ve turned on reCAPTCHA and it registers the account without any problems.
If you wanted to have a look, feel free to: [http://wildsister.com/affiliatecenter/]
Thanks again for all of your help!
February 4, 2013 at 9:07 pm #53203dwiermanMemberWhat is the latest version … I have several issues, and cant get many to work still
My version is 5.2.5
February 4, 2013 at 9:08 pm #53204dwiermanMemberWhat is the latest version … I have several issues, and cant get many to work still
My version is 5.2.5
February 5, 2013 at 12:44 am #53205adminKeymasterHi, This page has the info you are asking for:
-
AuthorPosts
- You must be logged in to reply to this topic.