Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › code for implementing affiliate plugin with easypaypal plugin › Reply To: code for implementing affiliate plugin with easypaypal plugin
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.