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.

PayPal payment notification

  1. http://hersheyfree.com/2010/10/confidence-conference/

    Registrants are being entered into the forms database even if they do not pay.

    How can we have the registration not show up unless they pay?

    Posted 13 years ago on Friday December 3, 2010 | Permalink
  2. The entry will be created into the forms database immediately after the user submits the form (i.e. before they go through the paypal process). There is really no way to delay the process of creating the entry until payment is made. What you need to do is check the payment_status of the entry. It will be marked as "Pending" until payment is complete.

    Posted 13 years ago on Saturday December 4, 2010 | Permalink
  3. I have compared the entries list for the form against the PayPal account. Some people have completed the transaction - however all of the entries (in wordpress backend) still say processing.

    Posted 13 years ago on Monday December 6, 2010 | Permalink
  4. TymB
    Member

    This is a great add-on and most features work well, but I think this is a critical issue that "webstergroup" brings up.

    I've been running WP 3.0.1 with GF Beta 1.3 and Paypal addon Beta 1.2 for a few days. We are also getting a notification when a payment is NOT processed (denied or whatever). Remember, besides this "non-paid" entry being in the database, other staff also receive the notification email (e.g. our bookkeeper) about a new member and payment received. They have no idea that payment was actually denied.

    It is not practical to expect the administrator to continually verify each entry by comparing to our Paypal account.

    At the very least (short term) the payment status should be displayed as an additional column when viewing the list of entries - currently I have to go into (view) each record to see its payment status.

    Longer term I believe serious consideration should be given to having the option for GF to automatically remove any entries where payment is denied or cancelled, etc. - ideally before the notification is sent out.

    Posted 13 years ago on Wednesday December 8, 2010 | Permalink
  5. @webstergroup If your entries are all marked as Processing then IPN isn't working, possibly because you did not turn IPN on in your PayPal account. This is discussed on the Settings page of the PayPal Add-On (Forms > Settings then select PayPal). Check your PayPal account to make sure IPN is turned on, it's not on by default. If it is turned on then something else is preventing PayPal from communicating back to your site via IPN.

    @TymB There is an option when setting up PayPal integration to send Notifications only after payment is received. You have to check these options to enable them. See this screenshot: http://grab.by/7NAW

    Make sure those options are checked. If they aren't checked, notifications are sent as normal... which is immediately after the form is submitted.

    As for removing any entries where payment is denied or canceled, we can consider doing that in a future release. Notifications, as I mentioned above, can be configured so they are only sent after payment is received.

    Check to see if you have these options checked, if so then this could be some sort of bug that you are encountering. Please respond back with an update on if you have these options on or not so we can go from there.

    Posted 13 years ago on Wednesday December 8, 2010 | Permalink
  6. TymB
    Member

    Yes, I missed those settings - actually I remember reading them, but didn't appreciate what they would do at the time.

    I believe this will work for now.

    I still think it's important to add an option/setting so that "non-paid" entries can be automatically removed from the database. Even though we no longer get notifications of non-paid entries, someone still has to compare and cull the GF database against Paypal receipts to ensure our membership list is accurate.

    Posted 13 years ago on Thursday December 9, 2010 | Permalink
  7. I have double checked PayPal - IPN is turned on and notification is being sent to http://thewebsitedomain.com/?page=gf_paypal_ipn

    what other things might I need to look at?

    Posted 13 years ago on Thursday December 9, 2010 | Permalink
  8. @webstergroup If you can send us a WordPress admin login for this site, we can take a look at your form and PayPal settings and see what is going on. You can send this information to us via our Contact Us form and reference this post when doing so.

    Posted 13 years ago on Thursday December 9, 2010 | Permalink
  9. email sent ... looking forward to your help :)

    Posted 13 years ago on Friday December 10, 2010 | Permalink
  10. Bart
    Member

    I'm having the same issue. IPN is being successfully sent, but the function "process_ipn" in paypal.php never gets called. I verified that paypal.php is getting hit successfully.

    Posted 13 years ago on Monday December 13, 2010 | Permalink
  11. @archer-group We are investigating the issue @webstergroup is having. As it may be unrelated, can you send us a WordPress Admin login for your site so we can take a look at your form and PayPal feed settings? This will help us determine what the issue is.

    Posted 13 years ago on Monday December 13, 2010 | Permalink
  12. Bart
    Member

    Due to security restrictions, I'm not able to send out an Admin login to third parties. I have the following options selected :

    # Do not prompt buyer to include a shipping address.
    # Send admin notification only when payment is received.
    # Send user notification only when payment is received.

    Also, I have IPN enabled in the plugin as well as in my sandbox merchant account (I am in test mode). When I attempt to simulate an IPN (by using the Paypal IPN simulator), the paypal.php file gets accessed, but the process_ipn function doesn't.

    This sounded like a similar issue as what the person above was having, but I understand it may be unrelated. I may try reinstalling the plugins and see what happens.

    Posted 13 years ago on Monday December 13, 2010 | Permalink
  13. @archer-group This isn't a similar issue as what the person is experiencing because my tests on their site are working fine and IPN is working as expected. Their issue is unrelated.

    The options you have selected are not of any help to debug this issue. IPN and PayPal works perfectly fine in all of our test environments. The issue you are experiencing is going to be something specific to your site / settings or PayPal configuration.

    This isn't something that can be debugged without looking at your settings, setting up test forms and running tests against our PayPal Sandbox test account to see what your IPN setup does in that situation. It's not something that can be debugged blindly.

    Are you testing against a Sandbox developer account in Test mode or only in Live mode?

    Posted 13 years ago on Monday December 13, 2010 | Permalink
  14. Hi everyone. I'm experiencing similar problems, meaning:

    When testing via a Paypal Sandbox developer account, purchases are still marked as "processing".

    When accesssing http://thewebsitedomain.com/?page=gf_paypal_ipn manually, I just get redirected to the front-page, I am unsure if I should see a notice of some kind?

    Can I contact you directly with an admin login to see if my problem can be fixed?

    Thank you in advance for help.

    Posted 13 years ago on Monday January 10, 2011 | Permalink
  15. No, you should not see anything when you go to that address. It's a silent listener.

    If you aren't receiving IPN notifications you need to make sure IPN is activated on your PayPal account. This goes for Sandbox account also.

    If you still aren't receiving IPN notifications you can login to your PayPal account, go to the IPN area and view the log of IPN requests which will tell you if IPN requests were sent, if they were received, etc. PayPal keeps a log. You can do this in the PayPal Sandbox also by logging in with the "seller" PayPal account you are testing with and viewing the IPN history.

    Posted 13 years ago on Monday January 10, 2011 | Permalink
  16. I think I'm having the same problem as archer-group.

    The whole payment process seems to go through correctly and the user is returned to my website yet their PayPal status remains as Processing and a new user is not created in my database (I'm using the PayPal form in conjunction with the Registration Plugin).

    IPN is turned on for my PayPal Sandbox seller account and I can see the various transactions in my IPN history.

    I'm totally stumped as to what the problem is.

    Any suggestions?

    Posted 13 years ago on Thursday January 20, 2011 | Permalink
  17. Hi FieldhouseCreation,

    If you can, go ahead and send me a login to your WP admin at david@rocketgenius.com

    Posted 13 years ago on Thursday January 20, 2011 | Permalink
  18. Hi David.

    I sent you an email yesterday. Feel free to have a look when you get a moment.

    Thanks

    Posted 13 years ago on Friday January 21, 2011 | Permalink
  19. TymB
    Member

    Another very good example of why we need the ability to automatically remove entries based on certain conditions.

    If you have "email address" as a required field AND it must be unique, if the person comes back a 2nd time (e.g. 1st time they filled out the form and something happened - they aborted payment process, etc.) then they aren't able to submit the form the 2nd time.

    This is happening before I can even look at the previous night's emails and manually clean out the duplicate entries.

    Posted 13 years ago on Monday February 7, 2011 | Permalink
  20. @TymB How exactly are you using the "No Duplicates" functionality? You typically should only use this in extreme situations such as contest submissions where you want to limit it to 1 entry per email address. In situations where a person is placing an order and may return and place more orders in the future, you wouldn't want to use the "No Duplicates" functionality. It isn't functionality that is typically used, especially on email fields.

    Posted 13 years ago on Monday February 7, 2011 | Permalink
  21. TymB
    Member

    We're using it for new members to join an organization, and we want to make sure every member has their own email address.

    Even if an existing member wants to pay for their friend, we want them to submit a different email address to make sure we can reach every member separately with notices, etc.

    Posted 13 years ago on Monday February 7, 2011 | Permalink
  22. TymB
    Member

    A simple (I think), short term solution would be another notification.

    Currently I can choose to not receive notification until payment is approved. Maybe you could add an additional notification option like, "If payment not approved, then send warning email to Admin to manually remove specific entries."

    Posted 13 years ago on Monday February 7, 2011 | Permalink
  23. Im having the same problem as everyone else. MY IPN is turned on at paypal and I have clicked the checkbox on the admin panel that it is setup. But when people submit the form, they are set to processing even if they complete the paypal payment process...

    I've got the latest betas as of a couple of days ago. This is a major show stopper for us.

    Posted 13 years ago on Thursday February 24, 2011 | Permalink
  24. @browncow The issue is going to be related to PayPal not being able to communicate back to the IPN handler on your site. We have seen firewall settings and WordPress security related plugins block this request. Are you running any WordPress security oriented plugins?

    What you will need to do is login to your PayPal account and view your IPN history. It will list all the IPN requests and if/why they were rejected. That will give us more information to go on. If it's being rejected for some reason it will most likely show a 403 error was returned for the IPN request attempt.

    Posted 13 years ago on Thursday February 24, 2011 | Permalink
  25. I'm actually having this same problem on one of my sites. I was having the problem before with the sandbox, but I fixed that due to me not setting up the PayPal sandbox IPN correctly. Since then, I've switched to the 'live' payments and my users are not being created.

    I've check the IPN history page and I'm getting HTTP response codes of 200, so everything is working there.

    The differences in my setup between now and then is I've added SSL to my WordPress form. So, I'm sending people from the Gravity Form on a SSL page to PayPal, then I'm asking PayPal to send them back to my website via HTTPS. However, I noticed my website is rewriting the https to http once they get to the site (https://www.ut-ent.net/courses/). On the backend, Gravity Form is listing my notification IPN link as http://. I'm guessing this is the cause of my new problem, correct?

    Posted 13 years ago on Monday April 25, 2011 | Permalink
  26. The problem could be the rewriting, because if it's rewriting it back to http:// from https:// then it's never processing as https://. Have you tested it in the live environment without the SSL? Just with http:// both for the form and the IPN?

    Posted 13 years ago on Monday April 25, 2011 | Permalink
  27. I just changed my PayPal IPN back to http. I'll watch the next payment to see if that fixes it. Should I shoot for https when coming back from PayPal?

    Also, I've had 3 users complete the purchase, but their accounts weren't created. Can I resend the IPN from the IPN history page and have it re-process the user registration (if successful)?

    Edit: PayPal did resend the IPN, but it sent the notification to the URL with https, ignoring the recent change I made. I guess I have to wait for a new buyer/purchase to see if the change I made works.

    Posted 13 years ago on Monday April 25, 2011 | Permalink
  28. If your form is called via http:// your IPN probably should be also, although I don't think it really matters. Let me know how it goes, if it continues to have issues we can investigate with you to see what is going on.

    Posted 13 years ago on Monday April 25, 2011 | Permalink