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 notification email being received with Paypal add-on

  1. Sophie
    Member

    Hello,

    I have set up the paypal add-on for a form - http://docksidegroup.com.au/gift-voucher-purchase/

    I had a payment go through overnight and the only notification I got was from Paypal to say I had received money in my account.

    There was no gravity forms notification email (which is set up the same as all the other forms).

    Any ideas? Thanks for your help!

    Posted 10 years ago on Monday August 8, 2011 | Permalink
  2. It sounds like PayPal IPN didn't communicate back to your site that payment was received.

    You need to login to your PayPal Account and view the IPN History under History for that account and look at the IPN requests and match them up to orders you received and see why the IPN request didn't go through. If an IPN request encounters an error it will say so.

    You can also resend IPN requests from that screen which will update Gravity Forms if they are successful.

    Posted 10 years ago on Monday August 8, 2011 | Permalink
  3. Sophie
    Member

    Thanks, Carl.

    I looked up the history and it says Transaction was made and Delivery status 'sent'.

    I've resent the IPN request from the mentioned screen and it says it's resending but nothing has been registered in the stats of PayPal on the wordpress end.

    Does it take long to register on the system?

    Posted 10 years ago on Monday August 8, 2011 | Permalink
  4. The IPN should be sent pretty much immediately when you do that, and it should register in the entry soon after. Are none of the entries being marked as Approved? If so it sounds like IPN isn't able to communicate back to your site. Are you sure the IPN History doesn't reflect any kind of error?

    Posted 10 years ago on Tuesday August 9, 2011 | Permalink
  5. Sophie
    Member

    Had another payment go through overnight and it is still not sending the confirmation email.

    The IPN message for that transaction says delivery status is 'sent'. I received an email from paypal to say the transaction had gone through but nothing from Gravity Forms.

    The IPN message reads:

    mc_gross=158.51&protection_eligibility=Ineligible&address_status=unconfirmed&item_number1=&tax=0.00&item_number2=&payer_id=JZQHJ8VJ5KPHU&address_street=48 MAGILLS LA&payment_date=02:32:57 Aug 10, 2011 PDT&option_selection1_1=Express Post&payment_status=Completed&charset=windows-1252&address_zip=3723&mc_shipping=0.00&mc_handling=0.00&first_name=KATHRYN&mc_fee=4.10&address_country_code=AU&address_name=KATHRYN STONNILL&notify_version=3.2&custom=1164|c888c754e7f18bd6009d6a69425a9f1d&payer_status=unverified&business=emarketing@docksidegroup.com.au&address_country=Australia&num_cart_items=2&mc_handling1=0.00&mc_handling2=0.00&address_city=MAINDAMPLE&verify_sign=Ai1PaghZh5FmBLCDCTQpwG8jB264A4S2MF5CZ7FGSm31ZjOc0PbGI1Wy&payer_email=katestonnill@gmail.com&mc_shipping1=0.00&mc_shipping2=0.00&option_name1_1=Postage Options&txn_id=1PJ8133583810052R&payment_type=instant&last_name=STONNILL&address_state=Victoria&item_name1=$150&receiver_email=emarketing@docksidegroup.com.au&item_name2=Surcharge&payment_fee=&quantity1=1&quantity2=1&receiver_id=T4DYU63E5LV42&txn_type=cart&mc_gross_1=154.50&mc_currency=AUD&mc_gross_2=4.01&residence_country=AU&receipt_id=3356-2080-8632-7965&transaction_subject=1164|c888c754e7f18bd6009d6a69425a9f1d&payment_gross=&ipn_track_id=CeU0mlWynUrMSxwJVnWngg

    Posted 10 years ago on Thursday August 11, 2011 | Permalink
  6. What do you have for your Notification URL in your IPN settings at PayPal?

    Assuming that URL is correct there, do you have access to Apache access logs, so you can see if this URL is being served properly by the web server?

    Posted 10 years ago on Thursday August 11, 2011 | Permalink
  7. Sophie
    Member

    I've just set up a new account for our accounts department and have used the Notification URL that was provided on the wordpress/gravity forms end. Am planning on testing shortly. See if there's any changes. Is there any way to test it without having to make a purchase?

    Posted 10 years ago on Friday August 12, 2011 | Permalink
  8. You can use the PayPal sandbox for testing. There is a "mode" setting in the Gravity Forms PayPal page for your form and you can check "Production" or "Test". With test, you would use the sandbox email that PayPal provides. So, change the email and check the test radio button here, then make your test purchase using the special PayPal buyer email they provided when you set up the sandbox.

    You can set up the sandbox here:
    https://developer.paypal.com/

    Posted 10 years ago on Friday August 12, 2011 | Permalink
  9. Sophie
    Member

    I just had a payment come through with the new account and no luck. I have followed all the instructions :(

    Posted 10 years ago on Friday August 12, 2011 | Permalink
  10. Do you have access to Apache access logs, to see if the request is being received by your server? It seems the communication cannot make it back to the site. Normally that would result in an IPN error on the PayPal end, but maybe the web server is sending a response that PayPal interprets as success, but it's not getting back to Gravity Forms.

    It's not a commonly reported issue, so it will probably be something related to your set up or server configuration.

    Posted 10 years ago on Friday August 12, 2011 | Permalink
  11. Sophie
    Member

    We looked through the logs and there are no error messages. So then we entered the IPN url into our browser - http://docksidegroup.com.au/?page=gf_paypal_ipn
    and it rewrites back to the homepage of our site.

    Does this mean the url is not working? Are you able to show a screen shot of what it should look like when you enter the IPN url into your browser?

    Posted 10 years ago on Tuesday August 16, 2011 | Permalink
  12. The IPN URL always rewrites back to the homepage, it's a secret URL that only processes when data is passed to it by PayPal. So that is normal behavior.

    In order to debug this we are going to need direct access to the site. We'd have to have our lead developer take a look and debug what is going on.

    To do this we would need the following:

    - A WordPress admin login for the site
    - An FTP login for the site

    It's possible we would need access to your PayPal account, but we can start by doing tests with our own test PayPal sandbox account.

    You can send this information to me directly at carl@rocketgenius.com and we can dig deeper into this and debug what is going on. Reference this forum post when doing so.

    Posted 10 years ago on Tuesday August 16, 2011 | Permalink
  13. Sophie
    Member

    Hi Carl,

    I've sent you an email with details.

    Thanks for looking into this!

    Posted 10 years ago on Wednesday August 17, 2011 | Permalink
  14. From the description of the problem above, I am experiencing the same thing. Has there been a resolution to this problem?

    Posted 10 years ago on Monday September 5, 2011 | Permalink
  15. @laneburris Sophie's issue was due to a combination of things. First she didn't have curl installed on her web server. Next she didn't have https support enabled in her curl configuration. So it's a web server configuration problem.

    If you are experiencing this issue then you need to check with your web host to make sure that A) curl is installed and B) it supports https. Otherwise IPN validation will not occur.

    Posted 10 years ago on Tuesday September 6, 2011 | Permalink
  16. @laneburris Another thing to check is make sure that the PayPal email you are using on your Gravity Forms PayPal Feed settings is in fact the PRIMARY email on your PayPal account. If your PayPal account has multiple email addresses associated with it, you have to use the primary. PayPal returns the primary in the IPN request so if it doesn't match up with your PayPal Feed settings the IPN is not going to validate.

    Posted 10 years ago on Tuesday September 6, 2011 | Permalink