- This topic has 1 reply, 2 voices, and was last updated 14 years, 11 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 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 › code for implementing affiliate plugin with easypaypal plugin
Tagged: affiliate plugin integration
I just bought both the estore and affiliate plugins from you as I may eventually use the affiliate plugin with wishlist on my site. Currently I want to implement the affiliate plugin with my current membership plugin called easypaypal.
The plugin I’m using now is called easypaypal version 3.5.1 which can be found at http://easypaypal.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=13663 I believe this is just 3.5 but it is about the same (if you need my exact version let me know but it shouldn’t matter). It should be the same place to implement your code.
My membership site works that anyone can register but then they are redirected to paypal. So I would like the affiliate code implemented in the part of the plugin that would allow for knowing that the members did actually pay at paypal, not when they sign up for the site (on their way back) from paypal. Otherwise every time a user just registers an affiliate commission would be tracked. I think with this plugin the user must click on the “return to merchant” button at paypal for this to register as a sale.
Can you send me this update via email?
Thanks,
Addison
Hi Addison, I had a quick look at the code of the “EasyPayPal Plugin” and it looks like it’s using the “rm” field of PayPal.
<input type="hidden" name="rm" value="2">
What does it mean? it means that PayPal will posts the payment data back to your site when the cusotmer clicks the “Return to Merchant’s Site” button after a payment.
So now all you need to do to integrate this with the Affiliate Plugin is to check the “Enable 3rd Party Cart Integration” Checkbox and all done.
After a payment when the customer returns to your site the affiliate plugin will automatically pick up the payment data posted by PayPal and award the appropriate commission to the appropriate affiliate.