Integration with API doesn’t work


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


One Response to Integration with API doesn’t work

  1. kento May 23, 2014 at 9:38 am #

    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?

We use cookies to optimize your experience on our site and assume you're OK with that if you stay.
OK, hide this message.

Affiliates · Contact · Jobs · Terms & Conditions · Privacy Policy · Documentation · Downloads · Useful Plugins · My Account