I get a lot of queries regarding the integration of the WordPress Affiliate Software with a 3rd party plugin. This page explains what is involed in the process so you can get a picture of what is possible and what is not.
Please note that we have a number of pre-made integration options available for some of the more popular eCommerce plugin/solution/script. If you are using any of those solutions then you do not need to read this.
Before I start, I would like to make one other thing clear… If you want to use the WP Affiliate Platform with the WP eStore plugin then you do not need to worry about any integration work as these two plugins are integrated by default.
The WP Affiliate software tracks referrals (knows who is a referred customer and who is not) and handles all the affiliate management side of things but it depends on the e-commerce plugin (example, WP eStore Plugin) that does the actual payment processing for the awarding of the affiliate commission. The reason is that you want to award the commission after a confirmed sale (this prevents a customer from clicking the checkout button and getting commission without going through the full checkout). Only the plugin that processed the payment knows when the customer’s payment has been processed successfully.
The same principal applies to “Rewarding affiliates when they refer a customer and he/she registers” situation. The affiliate software will be able to track who is referred by who but the script that handles the registration will have to award the commission after a customer successfully registers. So the plugin/script that handles the registration needs to notify the affiliate plugin and then the affiliate plugin will handle the rest.
The affiliate plugin has API that can be used to send notification of events such as a sale has been confirmed, a contact form has been submitted etc.
So the first thing you have to ask yourself is when (for what action of the customer/visitor) do you want to award the affiliate with the commission and then identify where in your 3rd party plugin/script it is handling this action. Once you can identify that then it is just a matter of adding a small block of code in that place to make the API call which will do the commission awarding for you.
If the plugin/solution/script that you are using has an option for 3rd party affiliate software integration then this is easy but if it doesn’t then you will need help from a developer (unless you are a developer yourself).
If you contact us about a 3rd party integration that is not advertised on our integration options then the first thing we will ask you is a documentation from your 3rd party solution that explains how they allow affiliate software integration.
APIs For Developers
- API – Awarding Commission Via WordPress Hook
- API – Awarding Commission via HTTP GET or POST
- API – Capturing a Lead via HTTP GET or POST
We have a number of pre-made integration options available for the popular products/solutions. Check the “Integration Options” section of our documentation page to find out the details.