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) »
  • CiviMember renews Membership without completed PayPal transaction
Pages: [1]

Author Topic: CiviMember renews Membership without completed PayPal transaction  (Read 2430 times)

hintbw

  • I’m new here
  • *
  • Posts: 20
  • Karma: 1
    • AzTEA
CiviMember renews Membership without completed PayPal transaction
March 29, 2009, 12:20:34 am
CiviMember will renew a membership even when a user chooses to cancel the Paypal transaction

Steps to reproduce:

1. Click to join or renew membership
2. Fill out any of the profile forms
3. Continue to the payment page (assuming using PayPal Standard as the processor)
4. On the Paypal page select the cancel and return to the webpage option
5. CiviMember will now report the membership having been extended by and additional year (or whatever your membership period is)

This occurs when using PayPal standard as your payment processor. Obviously this is a huge issue, as incomplete or canceled transactions should not result in an extended membership.
---
Brett

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: CiviMember renews Membership without completed PayPal transaction
March 29, 2009, 08:33:36 am

can you check if the memebership status is pending. we do extend the membership but keep the status as pending

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

hintbw

  • I’m new here
  • *
  • Posts: 20
  • Karma: 1
    • AzTEA
Re: CiviMember renews Membership without completed PayPal transaction
March 30, 2009, 11:57:45 am
Interestingly enough the status came back as Recently Renewed on one of them (the membership that is expired) and for my own account with the group (which was current), it continued to report as current but with an extended membership end date.

I tried deleting the corresponding transaction record and it has no effect on reverting the membership dates or membership status. Since the membership start and end dates both change it is also difficult to go back through and audit these because you would probably have to go through each user's activity report in order to see the potential previous membership registration date to reset those dates.

Is pending a status that should not be turned off by default. I only have New, Current, Grace, and Expired as active statuses for Membership Status rules. I'm thinking more and more that I should just turn on all of the default membership statuses even though I really only want to use the above 4. I see how Pending would be useful though and will enable that status.

I still think it would be better not to reset the membership dates to new dates unless there is an easier way to roll them back. Does CiviMember automatically set membership status to pending if a user chooses the Pay Later option? Was it expected that if pending memberships didn't materialize the membership dates would have to be manually turned back?

Thanks for your help with these questions - I think this issue is helping clarify the way CiviMember functions so that I can refine (and make more correct) the way we are using it.
---
Brett

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: CiviMember renews Membership without completed PayPal transaction
March 30, 2009, 12:19:41 pm

yes. if you are using pay later or paypal standard, you need to have pending as a valid status. I'm not sure of the behavior if pending is deleted (but i suspect its not good)

we do most of the computation upfront and keep things as pending, till we get a confirmation that the payment has been made.

If you are interested in improving the work-flow and adding easier ways to roll back the dates in case of a pending registration being cancelled, please contact us on IRC. In case you are not a developer, you can help sponsor this feature by hiring a developer / the core team :)

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

bails

  • Guest
Re: CiviMember renews Membership without completed PayPal transaction
April 22, 2009, 08:07:47 am
Hi we have just noticed this behaviour on one of our 2.1.6 installs.  Aothough the status is set as new.
To reproduce I did this.

Join as a 'new user', 1 year membership post or cheque.
As an 'admin' accept that payment and set status of membership to current.
Login in as 'new user' and choose renew membership pay thru paypal, wait for paypal page to load, hit back button.
Click renew membership post or cheque, click continue at this point CiviCRM errors with:

Sorry. A non-recoverable error has occurred.

DB Error: already exists

Database Error Code: Duplicate entry '519-33995' for key 2, 1062

However in another browser as 'admin' I can see my membership as Start Date April 22nd, 2009, End Date April 21st, 2012, Status New.

Very amusing I now have 3 years membership for the price of one!

Deepak Srivastava

  • Moderator
  • Ask me questions
  • *****
  • Posts: 677
  • Karma: 65
Re: CiviMember renews Membership without completed PayPal transaction
April 28, 2009, 08:36:45 am
Thanks Bails, Sounds like a bug. This is being investigated ..
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • CiviMember renews Membership without completed PayPal transaction

This forum was archived on 2017-11-26.