Your cart is currently empty!
Integration with API doesn’t work
—
by
Hi, I’ve installed and configured everything with Enterprise version.
I’ve enabled multi tiers.
Changed the line 138 in affiliates-enterprise/lib/core/constants.php from 2 to 3
Default amount 20%
Level 1 – 0.100
Level 2 – 0.050
Level 3 – 0.050
I’ve installed and configured Affiliates PayPal plugin with my PayPal account (IPN and Notification URL and Return URL).
I’ve added the following lines into PayPal payment method integrated in my theme (GeoTheme)
<input type="hidden" name="notify_url" value="” />
<input type="hidden" name="custom" value="” />
before the last tag as described into the Affiliate PayPal plugin.
I made several tests with 1$ package but no commission is tracked nor assigned, only clicks are tracked.
I really don’t know what else to do…
I’m using a test site to discover how to fix that, if you find a solution then I’ll do the same thing in the main site.
Thanks a lot
Flavio
Comments
One response to “Integration with API doesn’t work”
Hi Flavio,
The two fields you have added, they should be used like this:
<input type="hidden" name="notify_url" value="<php echo Affiliates_PayPal_IPN_Integration::get_notify_url(); ?>" />
<input type="hidden" name="custom" value="<php echo Affiliates_PayPal_IPN_Integration::get_custom(); ?>" />
Also, have you checked the response of the notification URL? And if you have secure URLs enabled (even for testing), are you using a valid SSL certificate?