Skip to content
This repository has been archived by the owner on Jun 25, 2021. It is now read-only.

New direct debit mandate/subscription creates an active membership #28

Closed
Upperholme opened this issue Jan 25, 2018 · 10 comments
Closed
Labels
Membership Issues to do with membership

Comments

@Upperholme
Copy link

When a user sets up a new direct debit mandate Civi creates a contribution record with a 'pending (incomplete transaction)' status. If the contribution is for a membership, then a matching membership record is created. This membership should also have a pending status. However in my tests, using Civi 4.7.29 on Wordpress, the membership is created with a 'New' status.

So, when the first payment is made, instead of activating the pending membership, the membership is in fact renewed.

I realise that this may be a CiviContribute issue and not a result of anything that this extension is doing, but wanted to log it here to find out if any other users of this extension are seeing the same thing, and also to raise awareness of it here.

@Upperholme
Copy link
Author

Using the same site, if I sign-up to a membership using the 'pay later' option, the contribution record is created with status 'pending - pay later', and the membership is created with status 'pending'.

Just testing with Paypal website payments standards as well. Will report back.

@Upperholme
Copy link
Author

Upperholme commented Jan 25, 2018

With Paypal website payments standard, buying an auto-renew membership, the contribution record is created and as I write has status 'pending (incomplete transaction)'. Looking at the Paypal sandbox account I can see that IPN messages are queued, but not sending, so maybe there's a temp issue at their end. Anyway, the membership is behaving itself, as the record is created and has status 'pending'.

So, from these tests it appears that Civi is doing what it is supposed to with the exception of the membership created as a result of the GoCardless process, where, although the contribution record status is 'pending (incomplete transaction)', the linked membership has status 'New', which is wrong.

I'm wondering whether the GoCardless extension is somehow giving inaccurate information to Civi when the mandate is created?

@artfulrobot
Copy link
Owner

Thanks for your work, @Upperholme I will look at the paypal implementation to see if I'm doing anything different there. I'm super stretched at the mo so can't promise a quick response though. As ever, PRs from anyone are v. welcome.

@Upperholme
Copy link
Author

Anything I can usefully do to try to move this along? We're keeping a close eye on membership renewal and sign-ups and managing things manually so as to not let this issue and #27 mess things up, but it's a faff we could well live without. I'll take a look to see if i can understand more closely what's going on and where it might be going wrong. Any pointers most welcome.

@artfulrobot
Copy link
Owner

Hi, are you able to try this patch b839d44?

@Upperholme
Copy link
Author

Thanks. I'll check it out later today and feed back.

@artfulrobot
Copy link
Owner

@Upperholme any progress?

@artfulrobot
Copy link
Owner

@Upperholme bump

@artfulrobot
Copy link
Owner

The changes I introduced here are removed by
#44
But I'm hoping that that PR will also fix this issue.

@artfulrobot
Copy link
Owner

We believe this issue is closed thanks to PR #44

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Membership Issues to do with membership
Projects
None yet
Development

No branches or pull requests

2 participants