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 CiviMember (Moderator: Deepak Srivastava) »
  • Credit card memberships which use Record Payment from a Different Contact bug
Pages: [1]

Author Topic: Credit card memberships which use Record Payment from a Different Contact bug  (Read 936 times)

jackrabbithanna

  • I post occasionally
  • **
  • Posts: 61
  • Karma: 3
  • Quick like bunny
    • http://www.skvare.com
  • CiviCRM version: 4.3.5
  • CMS version: Drupal 7.23
  • MySQL version: 5.1
  • PHP version: 5.3.3
Credit card memberships which use Record Payment from a Different Contact bug
June 19, 2013, 01:59:45 pm
Here's the scenario. Using CiviCRM 4.3.3, unknown if condition existed in earlier versions

Contact A wants to give a membership to Contact B as a gift.
Process described below is done by using the civicrm backend admin interface.

    Go to the contact view page for Contact B.
    Click the membership tab.
    Click the Submit Credit Card Membership Tab (error condition does not result from simply clicking Add Membership Tab)
    Select membership type, leave other fields at default
    Check the "Record Payment from a Different Contact?" checkbox
    Selection for the "Membership payment is" field is irrelevant
    Select Contact A for the "Select Contact" field.
    Fill out the credit card information (credit card number can be invalid and not process...bug still occurs)
    Error occurs even if you change the billing address which defaults to the giftee to the name of the contact that is the gift giver
    Click Save

Result:
The gift giver's (Contact A) billing email and billing address are changed to the values from the giftee (Contact B).
If Contact A's billing email is the primary then only the billing email address is changed to Contact B's billing email address
If Contact A's billing email is not primary then both the billing email address and the primary email address is changed to Contact B's email address

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Credit card memberships which use Record Payment from a Different Contact bug
June 19, 2013, 04:01:03 pm
I replicated this on my local 4.3.4 install :-(
Can you please file a bug report on the issue tracker. If you are able to investigate and supply a patch that will help this get resolved more quickly.
Protect your investment in CiviCRM by  becoming a Member!

jackrabbithanna

  • I post occasionally
  • **
  • Posts: 61
  • Karma: 3
  • Quick like bunny
    • http://www.skvare.com
  • CiviCRM version: 4.3.5
  • CMS version: Drupal 7.23
  • MySQL version: 5.1
  • PHP version: 5.3.3
Re: Credit card memberships which use Record Payment from a Different Contact bug
June 20, 2013, 07:56:15 am
Created issue in the issue tracker:
http://issues.civicrm.org/jira/browse/CRM-12869

jackrabbithanna

  • I post occasionally
  • **
  • Posts: 61
  • Karma: 3
  • Quick like bunny
    • http://www.skvare.com
  • CiviCRM version: 4.3.5
  • CMS version: Drupal 7.23
  • MySQL version: 5.1
  • PHP version: 5.3.3
Re: Credit card memberships which use Record Payment from a Different Contact bug
June 20, 2013, 07:57:32 am
I would like to help if I can, can you tell me a couple of php files that I should start looking in?

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Credit card memberships which use Record Payment from a Different Contact bug
June 24, 2013, 03:07:24 pm
Take a look at CRM/Member/Form/Membership postProcess(). On line 1245 the 'from a different contact' params are set. Then jump down to line 1298 where processing for the 'Submit Credit Card Membership' happens.

You might also check w/ eileen on IRC once you get into debugging.
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • Credit card memberships which use Record Payment from a Different Contact bug

This forum was archived on 2017-11-26.