Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-13276

PayPal rejects Contributions from clients using IPv6 addresses

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.3.5
    • Fix Version/s: 4.4.0
    • Component/s: CiviContribute
    • Labels:
      None

      Description

      This is really an issue that should be resolve by Paypal adding support for IPv6, but until that happens there will be situations where users cannot make donations or update memberships because the computer they are using has been given an IPv6 address. Passing a user's IPv6 address to it will cause the transaction to fail w/ a error that says...

      Payment Processor Error message 10747: Invalid Data This transaction cannot be processed.

      I've found fixes in a few Drupal modules that convert the IPv6 address to IPv4...

      https://drupal.org/node/1776978
      https://drupal.org/node/2065619

      From what I've read, the client's IP address isn't even a required field and is only included for fraud protection. I'm sure at some point Paypal will add support for IPv6, but until then I'm patching the Paypal payment processors to convert the IP addresses to IPv4 in the doDirectPayment function of /civicrm/CRM/Core/Payment/PayPalImpl.php

      So far that's the only place I've found that the IP address is referenced.

        Attachments

          Activity

            People

            • Assignee:
              pratik.joshi Pratik Joshi
              Reporter:
              kreynen Kevin Reynen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: