By Brent Critchfield on Wednesday, 18 October 2017
Posted in General Issues
Likes 0
Views 1.3K
Votes 0
Two questions related to registration and logins:
I have the PayPlans-Registration-Quick plugin set to "Never send verification email and activate account on account creation". In the Joomla Users config, New User Account Activation is set to "None".

When the user goes through the signup process on PayPlans and sets up their plan membership, at the end of that process I think they're going to expect to be logged in so they can start accessing their member features immediately. Instead they're still logged out and have to login manually after creating their account. Is there a way to change this behavior?

Second issue: We have an RSForm set up which collects some other data from the user and then creates an account for them when they submit the form. For some reason these accounts are not activated automatically like they're supposed to be. When that user tries to login with their account, the site says their account hasn't been activated, but we haven't sent them an activation email. Not sure if this is an issue with Joomla or the PayPlans registration plugin.
Hey Brent,

Please find my response to your inquiries below:


When the user goes through the signup process on PayPlans and sets up their plan membership, at the end of that process I think they're going to expect to be logged in so they can start accessing their member features immediately. Instead they're still logged out and have to login manually after creating their account. Is there a way to change this behavior?

From what I can see from the codes, it seems like the user account is always unpublished by default and this is why it doesn't automatically login the user.


Second issue: We have an RSForm set up which collects some other data from the user and then creates an account for them when they submit the form. For some reason these accounts are not activated automatically like they're supposed to be. When that user tries to login with their account, the site says their account hasn't been activated, but we haven't sent them an activation email. Not sure if this is an issue with Joomla or the PayPlans registration plugin.

It actually depends on the Joomla's users settings, http://take.ms/caAoy . However, I am not too sure about RSForm though. You need to check it with them.
·
Wednesday, 18 October 2017 13:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Isn't this plugin supposed to override the activation? https://stackideas.com/docs/payplans/administrators/customizations/override-user-activation Or am I not understanding this correctly?

On the RSForm thing, I might just take that out - it may end up causing more confusion.
·
Thursday, 19 October 2017 02:26
·
0 Likes
·
0 Votes
·
0 Comments
·
I've been working on this all day and I'm still not getting it right. Regardless of whether the user has an existing account or is setting up a new one, I can't get a clean path through the purchase process.

Here are two different flows that I'm experiencing:

Creating account during membership purchase:

  • User selects plan
  • Register for account using PayPlans Registration Quick
  • On invoice page, the system notification at the top says the account has been activated.
  • User clicks Pay Now, and the system kicks them out to a login form
  • After logging in, user is directed to the Dashboard with shows their unpaid plan and asks them to pay for it.


Purchase membership using existing account (user has Joomla account, but no PayPlans membership):

  • User selects plan
  • Login on PayPlans login/register page
  • Redirected to Dashboard, with "You are not authorized to view this resource" and the unpaid plan
·
Thursday, 19 October 2017 10:08
·
0 Likes
·
0 Votes
·
0 Comments
·
Regarding with your first issue, the reason why it get redirected to login page is because Joomla detected it trying to redirect to this menu item 'PayPlans » Dashboard' but you set this menu only 'Registered' user can access, so it redirect to login page.

I already help you temporary set to 'public' access for this menu "PayPlans » Dashboard", it should work fine now.

Regarding with your second issue, I suspect Sh404sef extension already cached those wrong SEF URL, so it show up this error 'You are not authorized to view this resource', perhaps you can try temporary turn off these setting from sh404sef extension configuration page (http://take.ms/HY2Aw) then try access your website again and test on it.

If it work correctly, can you grant us for the permission so I can able to purge all of your existing SEF URL from Sh404sef so that it can regenerate again those correct SEF URL?
·
Thursday, 19 October 2017 15:35
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you - your guess on SH404SEF was correct. I went ahead and purged the URLs and was able to register correctly.

When the invoice is displayed after payment, the menu options at the top still show the public links because the page apparently hasn't refreshed after the login was processed. Once I refresh the menu shows member links and works as expected. Do you know of an easy way to force that? I want to make sure the user sees their Member menu. Or, I'd be fine if we just skip the invoice and direct them to the Dashboard after payment.
·
Friday, 20 October 2017 00:38
·
0 Likes
·
0 Votes
·
0 Comments
·
You're welcome Brent

Perhaps you can share with me some of the screenshot what is that menu which display on invoice page before and after?

And provide us what is that invoice page URL.

Do you mean you would like your user once their completed the payment then redirect to this page right? domain.com/dashboard/frontview

By the way, I did consult with Payplans developer today regarding with your earlier question whether can login automatically after complete their registration, you can install this 'PayPlans-Auto-Login' app from the Payplans app store, so that it will automatically login after complete their registration.

May i know did it work fine once you installed this? Because i realised you already installed this app into your site.
·
Friday, 20 October 2017 15:06
·
0 Likes
·
0 Votes
·
0 Comments
·
It appears the user is logged in, but they don't know they're logged in because the member menu doesn't refresh.

Check the screenshots. The first one shows the invoice page after a successful payment. Note the two links at the top still say "Become a Member" and "Member Login". If I refresh the page, it redirects to the homepage and refreshes the menu to show that they're logged in. However without those menu links working, the user doesn't know what to do next.

If they click on Member Resources it takes them to their dashboard. If we can just do that after successful payment and skip the invoice that would meet my needs.
·
Saturday, 21 October 2017 05:44
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

I am really sorry for the delay of this reply as it is a weekend for us here.

After checked further the Payplans code, it seems like Payplans did allow admin to configure redirection URL if user completed their payment, you can refer on my attached screenshot below.

Try copy your page URL which you would like to redirect to, so it will automatically redirect to your expected page as what you assigned from your subscribe plan.

To configure this, you have to go to backend > payplans > plan > select your subscribe plan > set 'redirect URL'

Hope this will help.
·
Saturday, 21 October 2017 11:49
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks, this worked great for us. Thanks for the help.
·
Wednesday, 01 November 2017 22:37
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome Brent
·
Wednesday, 01 November 2017 22:54
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post