CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Record Registrant's IP Address
Pages: [1]

Author Topic: Record Registrant's IP Address  (Read 787 times)

zuesty

  • I post occasionally
  • **
  • Posts: 31
  • Karma: 2
  • CiviCRM version: 4.1.1
  • CMS version: Joomla! 2.5.3
Record Registrant's IP Address
April 07, 2010, 04:04:05 am
hello all,

i was wondering if there is a way to record the registrant's ip address once they register and submit payment? i want to compare the location of the ip with the billing information to make sure its a legitimate charge.

The reason i'm asking if you care: i use CiviEvents for a global conference and the registration confirmation is documentation that can be used to obtain visa to the hosting country. we've had a flux of fraudulent registrations from Nigeria with stolen credit cards mostly from the U.S. trying to obtain visa and i've had reports from the victims saying they have also purchased tickets to the countries we host our conference. i'm guessing this is the new era of illegal immigration ??? we've reported it to DOJ and there seems to be nothing we can do...

anyways, thank you for your help.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Record Registrant's IP Address
April 07, 2010, 06:32:44 am

your best bet would be to do this via a postProcess hook on the confirm page.

1. create a new custom field of type 'php code' that extends Participant

2. in the postProcess hook code, update the above custom field with the IP address

Note that many payment processors have additional methods of fraud protection that you might be able to enable also

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Record Registrant's IP Address

This forum was archived on 2017-11-26.