PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Website not receiving PayPal IPN?

  1. I am using the post submission form with the paypal add on to collect payment when people submit a post. It is sending the user to paypal after submission and completing the transaction. I get paid. The problem is that the post submission is not created. I have checked for the post to not be created until the payment is received. When I check the stats for the form under the paypal add on section of the plugin, there are no stats. It says no payments have been made. I don't know exactly what is happening, but when I check my IPN history, both transactions are "retrying". Let me know what you think I am doing wrong.

    I am using WP 3.5 and most recent Gravity forms.

    Thanks,
    Mike

    Posted 12 years ago on Sunday December 16, 2012 | Permalink
  2. Please post a link to your site where the form is located and also please post your IPN URL. If PayPal cannot communicate with your site, the IPN will fail, and the post will not be created, because Gravity Forms does now know that payment was received. There can be a lot of reasons for the IPN to fail. Some are on your server and the rest are in the network between PayPal and your server. We can check for some basic things if you post the IPN URL here.

    Posted 12 years ago on Monday December 17, 2012 | Permalink
  3. Here is the IPN:
    http://www.qrmyposter.com/?page=gf_paypal_ipn
    Sorry I did not post the page in the first post. The form is located behind a login. I can give you a login if needed via email.

    Thanks,
    Mike

    Posted 12 years ago on Tuesday December 18, 2012 | Permalink
  4. Because the site is behind a login, PayPal won't be able to communicate it. I think if you remove that login restriction, PayPal will be able to communicate with your site. I received the following header when trying to access your IPN URL:

    503 Service Unavailable

    PayPal will receive the same thing and your site will not receive IPN from PayPal.

    Posted 12 years ago on Tuesday December 18, 2012 | Permalink
  5. That worked great. Thanks! Is there another way to keep the form from non-logged in users and keep the IPN working?

    The return URL is also going to my test site. Is there a setting for that in Gravity Forms? I have changed the PayPal return URL already.

    Thanks again,
    Mike

    Posted 12 years ago on Wednesday December 19, 2012 | Permalink
  6. You can restrict the page with the form or the form itself to logged in users (there is a setting on the advanced tab of the form which will require the visitor be logged in before they can see the form). The IPN URL is the one which needs to be accessible to PayPal. This URL http://www.qrmyposter.com/?page=gf_paypal_ipn will need to return an HTTP status code of 200 before your site will receive IPN.

    The plugin will send the correct IPN URL to PayPal when the transaction is sent. The URL is based on the site where the form is embedded. Changing the IPN URL at PayPal will not have any effect.

    Are you saying that the form is embedded in one site but the IPN is going to another site? Can you post the URLs please?

    Posted 12 years ago on Wednesday December 19, 2012 | Permalink
  7. Thanks for clearing that up. The IPN is now working.

    The other problem I am having is that when the transaction on PayPal is complete, PayPal sends the user back to the old url (on a localhost). I checked the PayPal settings and they are correct, but it keeps sending to the old url. I wasn't sure if GF had a setting that needed to be changed?

    Thanks again,
    Mike

    Posted 12 years ago on Friday December 21, 2012 | Permalink
  8. What are you using for your confirmation settings? There is no setting that I know of in the PayPal add-on for a return URL: it should just return the visitor to the page they came from, on your site, which then follows the confirmation settings.

    Additionally, there could be a setting at PayPal for the continue URL, but I am not aware of configuring that.

    I can't think of any other place it would be coming from.

    Posted 12 years ago on Friday December 21, 2012 | Permalink