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) »
  • membership status not updated w/ pending transaction completed by back office
Pages: [1]

Author Topic: membership status not updated w/ pending transaction completed by back office  (Read 1270 times)

mclyde

  • I post frequently
  • ***
  • Posts: 171
  • Karma: 3
    • International Society for Bayesian Analysis
  • CiviCRM version: 4.2.7
  • CMS version: Drupal 6.x
  • MySQL version: 5.136
  • PHP version: 5.2.16
membership status not updated w/ pending transaction completed by back office
August 31, 2011, 11:28:00 am
I had a member whose transaction did not complete; we verified in Paypal that the credit card info was approved so I tried to manually update the records.

1) I edited the contribution record linked to the membership and changed its status to "completed"  (and clicked to send a receipt to the user)
    when I saved I got an "Unrecoverable error"   (OK i forgot to save the rest of the message mea culpa)  related to membership, but the contribution record is updated with status completed.

2) I go back to the membership record.  the membership status is now Expired.  I enter the new start date for the membership, thinking that this would trigger the status to change to current and saved.  The status was updated to pending, rather than current.

3) the user has 2 other failed transactions; removing them did not change the pending status

It appears that the only way to update the status via the UI is via the Overide status, but that keeps the status current permanently, so should not be used!


Is this the same issue as in      CRM-8604 (which appears to be closed)?  Should I submit a new issue? 
« Last Edit: September 01, 2011, 07:50:02 am by mclyde »
Merlise Clyde

mclyde

  • I post frequently
  • ***
  • Posts: 171
  • Karma: 3
    • International Society for Bayesian Analysis
  • CiviCRM version: 4.2.7
  • CMS version: Drupal 6.x
  • MySQL version: 5.136
  • PHP version: 5.2.16
Re: membership status not updated w/ pending transaction completed by back office
September 29, 2011, 02:02:41 pm
This is still a problem in 3.4.6!

Case Pending membership (credit card gateway did not transmit info back to Civi)

Update Contribution status to Complete (save) => non-recoverable error has occurred:

 Sorry. A non-recoverable error has occurred.
  Oops, it looks like there is no valid membership status corresponding to the membership start and end dates for this membership. Contact the site administrator for assistance.

Click on Contact summary

Sorry. A non-recoverable error has occurred.
cid (value: %%cid%%) is not of the type Positive

Contribution status was updated to complete, but  membership is still pending
Merlise Clyde

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: membership status not updated w/ pending transaction completed by back office
September 29, 2011, 07:12:31 pm
This is different from the "main issue" resolved in CRM-8604 (i.e. "membership type needs to be of the one actually purchased when the transaction is completed").

It looks like the function which is trying to update the associated membership when you update the contribution status is not working properly (probably not retrieving / passing needed membership properties). Would be great if you could investigate and potentially submit a patch.

The work-around is to check "Override", fix the status and then edit again and uncheck "Override".
Protect your investment in CiviCRM by  becoming a Member!

mclyde

  • I post frequently
  • ***
  • Posts: 171
  • Karma: 3
    • International Society for Bayesian Analysis
  • CiviCRM version: 4.2.7
  • CMS version: Drupal 6.x
  • MySQL version: 5.136
  • PHP version: 5.2.16
Re: membership status not updated w/ pending transaction completed by back office
September 29, 2011, 09:14:30 pm
In 3.4.5 checking overide, updating status, then unchecking the status did not work (status went back to pending)  so I had to leave the overide status on

In 3.4.6,  it does leave the status as current after unchecking the override option


I also found that if I clicked the button to record membership payment that it updated the status to current, leaving just one contribution record.  (I did not have the transaction id so will need to verify that it is the right contribution)

so if one ignores the unrecoverable errors :-) there is a work around

I have not tried the operations in the other order; click record payment and see if that update the membership and the contribution record.
Merlise Clyde

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • membership status not updated w/ pending transaction completed by back office

This forum was archived on 2017-11-26.