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.

No Change to Payment Status, No Notification Email Sent

  1. hypergolica
    Member

    Hello,

    The form is here: http://www.aur.edu/american-university-rome/2012/04/conference-on-the-future-of-italian-teaching-call-for-papers/

    Payment status remains as "Processing" even after payment is received. There is an IPN history. I've gone through the list cited here:

    http://om4.com.au/client/gravity-forms/paypal-add-on/

    Everything checks out.

    So what is the next step? How do I fix the communication from Paypal to Gravity Forms so the status is changed from "Processing" to "Received" and the notifications of receipt of payment are sent to all interested parties.

    Note: this is a "live form" and not one connected with the PP sandbox.

    Please advise.

    Cheers,

    Tim

    Posted 11 years ago on Sunday September 2, 2012 | Permalink
  2. What does the PayPal IPN history show? Can you post a screenshot of it?

    Posted 11 years ago on Monday September 3, 2012 | Permalink
  3. hypergolica
    Member

    Okay, here's a screenshot:

    http://grab.by/fOVi

    It's in Italian, but you'll get the idea. "Stato" = "Status." "Invio Avvenuto" means the confirmation was sent.

    Any ideas?

    Cheers,

    Tim

    Posted 11 years ago on Monday September 3, 2012 | Permalink
  4. There is something strange going on in your installation. The PayPal IPN URL should return a status 200 OK from the webserver. Here is an example on my server:

    [~]$ curl -I "http://gravity.chrishajer.com/?page=gf_paypal_ipn"
    HTTP/1.1 200 OK
    Date: Mon, 03 Sep 2012 20:36:21 GMT
    Server: Apache
    X-Powered-By: PHP/5.2.17
    X-Pingback: http://gravity.chrishajer.com/xmlrpc.php
    Content-Type: text/html; charset=UTF-8

    Note the "HTTP/1.1 200 OK" header.

    Here is your server's response:

    [~]$ curl -I "http://www.aur.edu/?page=gf_paypal_ipn"
    HTTP/1.1 302 Moved Temporarily
    Date: Mon, 03 Sep 2012 20:36:05 GMT
    Server: Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
    X-Powered-By: PHP/5.2.9
    Location: http://www.aur.edu/american-university-rome/
    Content-Type: text/html

    Note the "HTTP/1.1 302 Moved Temporarily " response. That is why Gravity Forms never received the IPN status. You should begin by testing for theme and plugin conflicts following these instructions http://rkt.gs/testing

    I would look for plugins which handle URL parameters, permalinks, redirection, things like that.

    Posted 11 years ago on Monday September 3, 2012 | Permalink
  5. Looks like this URL:
    http://www.aur.edu/

    Is always redirected to this URL:
    http://www.aur.edu/american-university-rome/

    Is that because the WordPress and Website URLs are different in your options?

    Posted 11 years ago on Monday September 3, 2012 | Permalink
  6. hypergolica
    Member

    Hi Chris,

    I think you've put your finger on it. Unfortunately, I'm not understanding your question: to which "options" are you referring? Please advise.

    Many thanks,

    Tim

    Posted 11 years ago on Tuesday September 4, 2012 | Permalink
  7. hypergolica
    Member

    Ah, hang on. Are you saying that this:
    http://www.aur.edu/?page=gf_paypal_ipn

    Should be this:
    http://www.aur.edu/american-university-rome/?page=gf_paypal_ipn

    The root directory of the Wordpress site is here:
    http://www.aur.edu/american-university-rome/

    Posted 11 years ago on Tuesday September 4, 2012 | Permalink
  8. On this page: http://www.aur.edu/wp-admin/options-general.php - what are the WordPress address and Site address? I think that's where the problem is coming in.

    Posted 11 years ago on Tuesday September 4, 2012 | Permalink
  9. If the root directory of the WordPress installation is here http://www.aur.edu/american-university-rome/ what lives here http://www.aur.edu/ ?

    and how is traffic to this URL http://www.aur.edu/ being redirected to this URL http://www.aur.edu/american-university-rome/ ?

    Posted 11 years ago on Tuesday September 4, 2012 | Permalink
  10. hypergolica
    Member

    Hi Chris,

    On this page: http://www.aur.edu/wp-admin/options-general.php
    Which is actually this page: http://www.aur.edu/american-university-rome/wp-admin/options-general.php

    I see:
    Wordpress Address: http://www.aur.edu/american-university-rome
    Site Address: http://www.aur.edu/american-university-rome

    In the ROOT directory, i.e., http://www.aur.edu, lives: index.php

    In index.php is the following code:
    <?php header( 'Location: http://www.aur.edu/american-university-rome/') ; ?>

    PS Sorry, but I didn't have any success with the ( ` ) backtick for the php. Not sure why...?

    Posted 11 years ago on Tuesday September 4, 2012 | Permalink
  11. hypergolica
    Member

    Hi Chris,

    Still there? How should I proceed?

    Thanks,

    tim

    Posted 11 years ago on Tuesday September 11, 2012 | Permalink
  12. This is causing the problem I believe:

    [php]
    <?php header( 'Location: http://www.aur.edu/american-university-rome/') ; ?>

    That does not seem like a normal way to redirect traffic to the WordPress URL from the website URL. That is what is causing the problem. The IPN notifications are being sent to the wrong URL. I'm not sure how the site was configured like this, or where Gravity Forms gets the information, but it's getting the wrong information and that is what is being sent to PayPal. You should not need to include that header line in the main index.php file. I would try to figure out why that is like that and why it was configured that way. It's possible you might be able to redirect the IPN from the main URL to the proper URL so that Gravity Forms can receive the IPN. Beyond that, I don't have any advice. This is not something that normally happens with Gravity Forms and it's related to the configuration of your site. Subfolder installations of Gravity Forms normally work fine.

    Posted 11 years ago on Sunday September 23, 2012 | Permalink
  13. hypergolica
    Member

    Hi Chris,

    Thanks for getting back to me.

    Could you tell what is the "normal way" to redirect the root folder to a sub-folder for a Wordpress install? One that would be compatible with the way Gravity Forms operates? Then I'll coordinate with our team and have that changed.

    Many thanks!

    Cheers,

    Tim

    Posted 11 years ago on Monday September 24, 2012 | Permalink
  14. hypergolica
    Member

    Chris,

    Quick follow-up: would you recommend a redirect using a .htaccess file?

    Else, what kind of redirect would be compatible with the Gravity Forms method of passing information from Paypal to the website?

    Thanks,

    Tim

    Posted 11 years ago on Monday September 24, 2012 | Permalink
  15. Regarding this question: There are not normally any modifications like that required to run WordPress in a folder like that. I'm not sure what problem needed to be solved at the time, but however it was done, WordPress does not really know about it, so when Gravity Forms asks "what is the URL" to set the IPN, it gets the wrong information from WordPress.

    Regarding the .htaccess redirect: that is how I would do it, to ensure that the IPN is always sent to the right place. You're working around the problem with the way this was set up, but if nothing else is broken, this will at least get IPN working for you.

    Posted 11 years ago on Monday September 24, 2012 | Permalink
  16. hypergolica
    Member

    Hi Chris,

    I'll see if I can get the .htaccess to work. It seems that was something we had before but then we encountered some kind of problem and had to go with the index.php redirect.

    It still isn't clear to me what you mean when you say "There are not normally any modifications like that required to run WordPress in a folder like that."

    If that were true, then how would users going to the root URL, in our case http://www.aur.edu, be taken to folder of the website, http://www.aur.edu/american-university-rome, without a redirect?

    You seem to suggest there is yet another way... but I don't follow.

    Posted 11 years ago on Monday September 24, 2012 | Permalink
  17. I guess every configuration is different, and I didn't really understand yours. If there is a site at aur.edu, then putting WordPress in the american-university-rome directory is what you would use the WordPress URL and website URL for. However, it does not sound like anything lives at aur.edu so that will never show a site. I guess that's for SEO (good short URL but then the full american-university-rome in the path?)

    In any event, you can use the index.php redirect as you have, but you will have to handle the IPN, either in that index.php file, or in .htaccess. It's a configuration I've never thought about, but I think I see now how you are using it.

    Posted 11 years ago on Monday September 24, 2012 | Permalink
  18. hypergolica
    Member

    Hi Chris,

    Yep, you've put your finger on it: "www.aur.edu" doesn't mean much if you don't know what it stands for, so when we redid the website in 2010 we put Wordpress in the "american-university-rome" directory. It does seem to have made a difference in the search results, but then considering the former website was from the Jurassic period, who knows?

    Since you mention it, how could I manage the IPN in the index.php file? Any chance you have a snippet at the ready? Else a link?

    If not, no worries. I'll see what I can find... else move on to the .htaccess solution.

    Many thanks again for your time and assistance.

    Cheers,

    Tim

    Posted 11 years ago on Monday September 24, 2012 | Permalink
  19. hypergolica
    Member

    Chris, et al.,

    I've gone back and checked my info. And, having reread the previous discussion, it is not clear to me why the redirect at the root level is the cause of the problem.

    For example, in the Gravity Forms / Paypal settings, the correct URL is indicated:
    http://www.aur.edu/american-university-rome/?page=gf_paypal_ipn
    Screenshot: http://grab.by/gAhs

    And, in the Paypal account, that is what I have (in Italian, but you get the idea):
    http://grab.by/gAhA

    So why isn't this working? Can we take a second look at this?

    Thank you.

    Tim

    Posted 11 years ago on Sunday October 7, 2012 | Permalink
  20. I don't know enough about your situation to understand why your site is configured as it is. But normally, you would not need to modify the index.php to redirect to the WordPress directory like this. I wish we had a place where we could test this out and try a couple different configurations. I was hoping we could work around the problem and not have to change anything with the working configuration of your site.

    Posted 11 years ago on Monday October 8, 2012 | Permalink
  21. I keep reading this document, and I don't see anywhere in there about modifying the index.php - it's always "copy" the index.php

    http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

    Posted 11 years ago on Monday October 8, 2012 | Permalink
  22. hypergolica
    Member

    Chris,

    As you observed in a previous post, putting the site in a sub-directory called "american-university-rome" serves an SEO purpose.

    What you have linked to above seems to suggest that the site can exist at the root, while putting the files in a sub-directory, which I think in turn means that that sub-directory would not appear in the URL.

    In other words, I want the website root to live here:
    http://www.aur.edu/american-university-rome

    Not here:
    http://www.aur.edu

    Hence the php redirect for the http://www.aur.edu index file.

    Further, the IPN link is pointing to the correct directory, hence the reason I "re-opened" the case. I've also looked for a way to redirect the IPN using php (to add to the http://www.aur.edu/index.php file), but no luck.

    If this is a no-win situation, so be it, but it seems like the complications involved here are more than they should be.

    Cheers,

    Tim

    Posted 11 years ago on Monday October 8, 2012 | Permalink
  23. I understand why you are doing it this way, but I am not sure how to fix it. Maybe we can work around it though. Let me work on the index.php or .htaccess redirect.

    Posted 11 years ago on Monday October 8, 2012 | Permalink