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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Invoice Email overwriting Primary email address
Pages: [1]

Author Topic: Invoice Email overwriting Primary email address  (Read 500 times)

alicerichmond

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 4.4.4
  • CMS version: Drupal 7
  • MySQL version: 5.5.34
  • PHP version: 5.5.10
Invoice Email overwriting Primary email address
May 12, 2014, 10:28:34 am
Hi all,
   I'm just setting up a site, and when I have a user sign up to the site through a contributions form using their contact details and email address(which is set to primary in profiles). They then have the opportunity to go to another page and insert an invoice email address (incase this is different to their personal address). The original primary email address on the form is not editable in the UI at this point, the customer however can enter an alternative "invoice address" which is set to type "invoice". However once the form has been saved and confirms, the "primary" email address has been overwritten with the invoice email address... which seems strange. Has anyone else come across this? It seems like a bug which I will report if no one else has experienced it also.

Cheerio
Alice
« Last Edit: May 12, 2014, 10:35:33 am by alicerichmond »

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Invoice Email overwriting Primary email address
May 12, 2014, 02:05:57 pm
can you flesh out a bit more on the payment processory in use - or what is providing the 'invoice email address'?
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

alicerichmond

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 4.4.4
  • CMS version: Drupal 7
  • MySQL version: 5.5.34
  • PHP version: 5.5.10
Re: Invoice Email overwriting Primary email address
May 13, 2014, 02:47:35 am
This is for a pay later payment process, whereby the invoices will be generated by xero. This means that there is a time frame whereby the customer has a chance to change the invoicing information details on their account. For instance they can change it to the CEO's contact details or their PA's using a link to their account area.

The fields for the invoice details page have been implemented within a profile which will just display to the customer their current email address in an un-editable field and then provides them an editable field which allows them to enter an invoicing email, which is an email field set to "invoicing". This however when saved overwrites the primary email.

It seems to only do this with new members (signing up and purchasing membership at the same time), if someone is logged in directly and then chooses to enter an invoice email address then the functionality works.

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Invoice Email overwriting Primary email address
May 13, 2014, 05:29:55 am
Is this in conjunction with the Xero integration extension? I guess there are a few older xero integration modules as well but I think from your description you aren't using them.

Do you also have some custom code in the mix?

It does sound like a bug - I would see if you can replicate it on the demo site & if so log it as a bug.

Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Invoice Email overwriting Primary email address

This forum was archived on 2017-11-26.