Public self-registration - multiple problems with enabling self-registered members, stuck at "pending"

Reposting a query originally added as a reply here:

I’m encountering a problem with self-registration in the membership module on 18.0.4.

I’ve enabled a membership type which has no contribution required.

I then add a member of that type as an admin. I validate it - and an email is sent.

The member now has the status “pending” - there appears to be no way to alter this as an admin? Well, part from deleting the user? Thus I can’t manually set the member as “up to date”, which I might need to if a member was having problems with the validation link.

Which they will. The email sent to them has a link, but quite a clunky looking email, and the link is not a clickable one. I looked into editing the email templates, but this doesn’t seem easy: everything in the template is a placeholder for an internationalised phrase, and I’ve not located how to alter those, or if this is even possible.

That aside: cutting and pasting the link into a browser takes me to a very unfriendly blank page, which merely says:

No active payment module (Paypal, Stripe, Paybox, …)

This is correct, and intentional, but I am wondering why that should that stop me from using the membership self-registration? I’m hoping not to have to add a payment module - at least not yet. I’m still evaluating Dolibarr; besides, I don’t want to take any payments from members at all currently, and I don’t want to erect barriers which will discourage them from signing up.

For Dolibarr to be useful to me, I need to either get the new member beyond the “pending” status via the admin panel or (ideally and) get the link in the email to work for new members, so they can enable their accounts.

Can anyone either identify whether this is as-designed or a bug?

Either way, can anyone show me how to get (self-registered and otherwise) members accounts to move beyond “pending” to “up to date”?

Thanks!

1 Like

what if you just enable one of those payment modules, but does not configure them? Would the form then work?

I use the member module, but I made my own signup form because all my members usually come through our swing dance classes. The few that might come without dance classes I would still want to swing ;-( haha by our “shop” and see the dance class offers when they register for membership.

I think that Dolibarr has some kind of webhook system that will do something when something else happens. Using that you could trigger a script that through the API sets the member as active?

You might also use some of the other hook system that Dolibarr offers.

JonB

Thanks - I’ve tried this.

If I enable stripe, the blank page with the error is replaced with a form - good.

However, it is asking for a payment of zero. Not good.

And it’s using the payment module I added (stripe), which is not configured, and so won’t work. Bad.

So this doesn’t really work as a workaround.

Therefore, still looking for other ideas…

Oh yes - you also suggested the idea of writing something which uses webhooks or the API. Thank you, it’s nice to have the option to do that at some point, but it seems a bit of a tall order right now, when I’ve barely started using it. My motivation for using Dolibarr was to avoid having to write my own application and use something off the shelf. It doesn’t bode well if I need to code my own solution at such an early stage of using it.

I wrote my own, and it is basically just a simple HTML page that upon load/visit from a browser looks which “For sale” services and products I have in my categories, offers a list and if people click on one in the list it shows another page with a form that upon pressing submit it does 2 things.

a) it creates a thirdparty and a member in dolibarr + a draft proposal
b) it presents the visitor with a page to confirm the data, and upon confirmation I validate the draft proposal and create a draft order which I - or our dance class teachers then validate when they want to accept people into the dance class. At the same time those that are not yet members will get a membership.

I use automatic notifications to send on Order validation an email* which requires them to pay. Once paid they get an invoice.

  • I do have some issues with dolibarr here. The base email from dolibarr includes a link to payment which does not work because the email is sent while the order is still in draft mode, but then dolibarr validates the order and the reference link does not work. (There is a bug report in github to get this fixed). But until fixed I coded my own system with a link that always works.

I also have to setup the automatic notifications for each thirdparty :frowning: but once setup it stays. I can’t even check automatically if thirdparties have this notification settings or not, I have to check it manually. I’ll play with some of Dolibarrs hooks at some point to fix this.

Even though Dolibarr have these bugs, errors and flaws I still find it much better than our old solution.

Hi,

In other words the SELF MEMBERSHIP and FREE SUBSCRIPTION does not work… :frowning:

and it still prompt for payment and pending for approval which I could not find any button to approve. Other than VALIDATE button. ? Still no solution?