CRM-13258 intermitent ipn issues with paypal payments pro

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Cannot Reproduce
    • Affects Version/s: 4.2.10
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      I have intermittent issues with the paypal payments pro ipn. Some contributions get pinged back to civicrm to record the donation and send the receipt. Other contributions do not ping back to civicrm at all.
      The recurring donation is for a membership.

      This started happening after the upgrade to 4.2.10 and did not happen prior to this.

        Attachments

        1. 4.2.10_ipn_issue2.txt
          2 kB
          Mark Targett
        2. ipn log.txt
          0.3 kB
          Mark Targett

          Activity

          [CRM-13258] intermitent ipn issues with paypal payments pro
          Mathieu Lutfy added a comment -

          Hi, which version were you using prior to the upgrade? (to help isolate code changes between versions)

          Mark Targett added a comment - - edited

          The previous version was 4.2.9

          Stoob added a comment -

          Can you confirm that the orange Paypal button is ...or is not being clicked on the checkout form? This converts the payment to "express" which has known issues communicating IPN, particularly regarding recurring transactions.

          Eileen McNaughton added a comment -

          You have logged our first LTS ticket

          We have some patches we run to help with debugging things like this - how comfortable are you applying patches?

          Also, - is it possible the intermittance could relate to whether the original contribution has custom data / honor contact / campaign data set. One of the few changes to this code in 4.2.10 (as opposed to 4.2.8 / 4.2.9) relates to the copying of this data from the first to subsequent contributions (https://github.com/civicrm/civicrm-core/pull/855/files)

          The other thing is to look for errors in your log file which lives in the ConfigAndLog directory at the same level as templates_c (configured through your directories page)

          Mark Targett added a comment - - edited

          It is not the Paypal button (we have this disabled). It is happening with people that have already had a membership.

          We have a simple database. No custom data or honor contact or campaign data.

          I am willing to apply patches if given instructions.

          Here is a log on recurring contributions and their status. I have attempted to resend the IPN again.

          08-01 good
          08-02 good
          08-05 good
          08-07 updated from 4.2.9 to 4.2.10
          08-07 xxx@gmail.com resent ipn then appeared in civi
          08-08 xxx@fiu.edu resent no ping
          08-09 all good
          08-10 x@gmail.com
          08-14 x@gmail.com
          08-14 good
          08-16 good
          08-17 good
          08-19 x@comcast.net resent no ping
          08-20 x@bellsouth.net
          08-20 x@aol.com

          Eileen McNaughton added a comment -

          not clear I can see that - do you want to come on IRC?

          Mark Targett added a comment -

          I do not know what IRC means.

          Mark Targett added a comment -

          Sure, if it will help me fix this problem.

          Mark Targett added a comment -

          I updated the previous civicrm version to 4.2.9

          Eileen McNaughton added a comment -

          So the above link was about jumping on IRC - you want an IRC client (google for one - e.g pidgin)

          NB _ if you apply this patch

          https://github.com/fuzionnz/civicrm/commit/591d2373db5b9f63b5e5d3675765436fb014c1e6

          then all the ipn calls will be logged into a table called civicrm_notification_log - the patch comes with a warning though - it's not part of core & it the table gets added to core later it will clash on upgrade. However if you delete the table before you next upgrade it won't matter

          Eileen McNaughton added a comment -

          Turns out Mark's problem was a gap in his membership status rules. So while the silent failure is not ideal this bug report can be closed. No regression

            People

            • Assignee:
              Unassigned
              Reporter:
              Mark Targett

              Dates

              • Created:
                Updated:
                Resolved: