PayPal integration not registering referrals

Posted in

I have installed Affiliates Pro and the PayPal add-on. I have the Paypal form wrapped in the short codes as we are selling just one product. I was not able to see the sale in the affiliate totals. I went through an affiliate site which landed me on our purchase page, made the payment, and then checked to see that no referrals were registered. No sales were recorded.

When I checked the Paypal IPN issue log, I received 403-Forbidden with multiple re-try’s. (The request was understood, but the server is not willing to fulfill it. The server can explain the reason for its unwillingness in the response body.) I checked with my host WP Engine and they whitelisted the IP addresses for the IPN servers and I also had them remove affiliates from cache also.

When I used the SANDBOX option it still processed charges in Paypal also.

I just need this to work as I am uncertain of what to perform next !!!

7 Responses to PayPal integration not registering referrals

  1. George June 10, 2016 at 10:12 am #

    The issue has been resolved. An .htaccess file was blocking access to ipn.php file of the plugin.

    Cheers

  2. George May 11, 2016 at 4:05 pm #

    Hi Richard,

    Your ipn link was stored properly in PayPal, or do you get any error messages when you try to save it?
    Also, do you use any other plugins that provide their own PayPal Payments Standard gateway?
    What other info can you provide on this and/or where did you get this message?

    The request was understood, but the server is not willing to fulfill it. The server can explain the reason for its unwillingness in the response body.

    Can you provide me with admin access to your site?
    Please take a full backup and then send admin credentials to george at itthinx dot com.

    Kind regards,
    George

    • Richard May 11, 2016 at 8:47 pm #

      Hello George

      I used the ipn link: http://civilityconsulting.com/wp-content/plugins/affiliates-paypal/lib/ipn.php which is also stored in Paypal.

      I do not use any other plugins that have Paypal integration.

      The error message 403 came from PayPal…The request was understood, but the server is not willing to fulfill it. The server can explain the reason for its unwillingness in the response body.

      I have taken a backup by copying the entire site to staging and a backup on the production site.

      Please find your login credentials below:

      Username: george
      Password:

  3. Richard May 11, 2016 at 3:37 pm #

    Hello George

    I also checked the logs on wpEngine host and found the following:

    [Wed May 11 15:26:06.513069 2016] [access_compat:error] [pid 7971] [client 173.0.81.1:29858] AH01797: client denied by server configuration: /nas/wp/www/sites/jangoss/wp-content/plugins/affiliates-paypal/lib/ipn.php

    [Wed May 11 15:26:17.284587 2016] [access_compat:error] [pid 7873] [client 173.0.81.1:29916] AH01797: client denied by server configuration: /nas/wp/www/sites/jangoss/wp-content/plugins/affiliates-paypal/lib/ipn.php

    [Wed May 11 15:26:38.430709 2016] [access_compat:error] [pid 7873] [client 173.0.81.1:30029] AH01797: client denied by server configuration: /nas/wp/www/sites/jangoss/wp-content/plugins/affiliates-paypal/lib/ipn.php

    [Wed May 11 15:27:19.863250 2016] [access_compat:error] [pid 7874] [client 173.0.81.1:30204] AH01797: client denied by server configuration: /nas/wp/www/sites/jangoss/wp-content/plugins/affiliates-paypal/lib/ipn.php

    [Wed May 11 15:28:40.066225 2016] [access_compat:error] [pid 7872] [client 173.0.81.1:30540] AH01797: client denied by server configuration: /nas/wp/www/sites/jangoss/wp-content/plugins/affiliates-paypal/lib/ipn.php

    [Wed May 11 15:31:20.979841 2016] [access_compat:error] [pid 7872] [client 173.0.81.1:31569] AH01797: client denied by server configuration: /nas/wp/www/sites/jangoss/wp-content/plugins/affiliates-paypal/lib/ipn.php

  4. Richard May 11, 2016 at 3:29 pm #

    Hello George

    I went back through the process and here is the link to the log – http://civilityconsulting.com/wp-content/debug.log

    If you need anything please let me know asap.

    Thanks
    Richard

  5. Richard May 11, 2016 at 3:20 pm #

    Hello George

    I am not using https: The notication URL for IPN messages from PayPal is http://civilityconsulting.com/wp-content/plugins/affiliates-paypal/lib/ipn.php.

    I have updated my wp-config file with debug true….I will run through the process and send you the link.

    Thanks!

  6. George May 7, 2016 at 8:48 am #

    Hi Richard,

    In case you haven’t noticed, there is also an option in Affiliates>Paypal to Use secure URLs. If you are using an SSL certificate, this option should also be checked and the ipn url starts with https instead of http.
    Can you please share a link to your log to have a look. Also, enable WP debugging in case there is an error logged in debug.log that can help us further investigate the issue.

    Kind regards,
    George

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

Share