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) »
  • When I register online for an event, my contact name changes
Pages: [1]

Author Topic: When I register online for an event, my contact name changes  (Read 2695 times)

ken

  • I live on this forum
  • *****
  • Posts: 916
  • Karma: 53
    • City Bible Forum
  • CiviCRM version: 4.6.3
  • CMS version: Drupal 7.36
  • MySQL version: 5.5.41
  • PHP version: 5.3.10
When I register online for an event, my contact name changes
June 05, 2008, 08:34:23 pm
Dear Civi's,

The name on my credit card is not the name I am usually known by. No one calls me "Kenneth" except my mother and my bank.

When I register online for an event, my contact first name is changed to "Kenneth". In my case, it's mildly inconvenient but what if ...
  • I use a corporate card to pay for the event, and my name is changed to "Tangle & Dent"
  • I'm a recently-married female whose credit card is in her maiden name

Is there a work around?

If not, can I suggest that Civi ought to capture cardholder name and contact name as separate items?

Ken

emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Re: When I register online for an event, my contact name changes
June 06, 2008, 06:38:30 am
Are you using Paypal as your payment processor? If so, please see this issue:

http://issues.civicrm.org/jira/browse/CRM-2685

Are you on CiviCRM 2.0 and the latest release? If yes to all of the above, then you should add a comment to the issue saying it's still not working (again, verify you are on the latest CiviCRM 2.0 release).


ken

  • I live on this forum
  • *****
  • Posts: 916
  • Karma: 53
    • City Bible Forum
  • CiviCRM version: 4.6.3
  • CMS version: Drupal 7.36
  • MySQL version: 5.5.41
  • PHP version: 5.3.10
Re: When I register online for an event, my contact name changes
June 06, 2008, 04:39:43 pm
I'm using a contributed payment processor for the Australian site eway.com.au - perhaps I need to talk to the developer about a fix??? I'll do some research to find out what was done to fix CRM-2685, to see whether its an 'eway' problem or something more generic.

By the way, I'm testing with 2.0.3, so perhaps I need 2.0.4 to get the fix?

Ken

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: When I register online for an event, my contact name changes
June 06, 2008, 09:36:19 pm

I'm pretty sure eway is not a paypal standard type processor. it is more like authorize.net/paypal pro

Civi makes the incorrect assumption that your billing contact name is the same as the contact name (for paypal pro / eway / auth type processors). As such if we collect the billing name and do not see the first name being collected on the form, we assume that billing name is the same as first name.

To avoid this, you can collect both billing name and real name. In that case we will not overwrite the data.

Yes, we do realize this is not ideal, but this is what we have in the system now

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

ken

  • I live on this forum
  • *****
  • Posts: 916
  • Karma: 53
    • City Bible Forum
  • CiviCRM version: 4.6.3
  • CMS version: Drupal 7.36
  • MySQL version: 5.5.41
  • PHP version: 5.3.10
Re: When I register online for an event, my contact name changes
June 09, 2008, 03:25:54 am
Thanks, Lobo.

Yes - eway is derived from the authorize.net code

Now ... I assume that collecting the real name is done by associating a profile containing the first-name and last-name for the contact?

Ken

ken

  • I live on this forum
  • *****
  • Posts: 916
  • Karma: 53
    • City Bible Forum
  • CiviCRM version: 4.6.3
  • CMS version: Drupal 7.36
  • MySQL version: 5.5.41
  • PHP version: 5.3.10
Re: When I register online for an event, my contact name changes
June 13, 2008, 07:28:43 pm
Lobo,

I've changed my code to capture the cardholder name, but I was wondering if I might contribute this back into the baseline code?

I'd like to know if you think this is worthwhile, and how my change might be made generically useful.

These are the changes I've made ...
  • CRM_Core_Payment_Form - setCreditCardFields() - added a field for credit_card_holder which is required, and made the billing name and address optional
  • templates/CRM/Event/Form/Registration/Register.tpl - added credit_card_holder and changed the comment on the billing name and address to say they are optional
  • CRM_Core_Payment_eWAY - doDirectPayment() - changed the payment processor to use credit_card_holder rather than the billing name, and to deal with the case of partial or missing address details

An interesting benefit of making the billing name and address optional is that the "bug" of overwriting real names with credit card names becomes a useful feature because the user has the opportunity of giving us their real name in addition to the name on the credit card.

To make this a generic feature that is useful to others, it seems we need to ...
  • Make the existing behaviour the default, so we "do no harm"
  • Make the feature dependent on the payment processor used (PayPal couldn't use it, but eWay etc can)
  • Allow administrators to decide whether to use billing name (3 fields) or cardholder name (1 field) when they configure the payment processor (3 fields would be the default)
  • Allow administrators to decide what is mandatory and what is not when they configure the event or contribution (for instance, I might not want a billing address when processing a donation, but I might for an event where I need to send participants an information pack). The default is that billing name and billing address are both mandatory.

I'm happy to do some more work to make that happen, if people think that's worthwhile. I'll just need some guidance in what to change and how to submit that for review.

Ken

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: When I register online for an event, my contact name changes
June 14, 2008, 02:34:51 am

Ken:

Do you want to file an issue and attach your patches to it. I suspect we'll consider it for the 2.2 release.

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

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: When I register online for an event, my contact name changes
June 16, 2008, 06:22:03 pm

2.1 fixes the billing name / real name issue. if a name exists in the DB it will not be overwritten by the billing name. If the name does not exists, we use the billing name as the name of the contact. At some stage, we will want to store the billing name in the db and associate it with the transaction

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) »
  • When I register online for an event, my contact name changes

This forum was archived on 2017-11-26.