By Daniel Pierce on Thursday, 22 October 2015
Posted in Technical Issues
Replies 5
Likes 0
Views 1K
Votes 0
StackIdeas,

I have EasySocial V1.3.30 installed on a system along with PayPlans V3.3.5.

When a user subscribes to a membership they are correctly taken through the registration process.

REGISTRATION PROCESS
> Select Plan
> Complete Registration
> User goes to PayPal site and pays for subscription
> After completion Goes to Thanks for Subscription
https://saverhealth.com/index.php/component/payplans/invoice/thanks/ENS4YWA3P5C5


PROBLEM:
The registration process is working properly, however the e-mail link sent to the subscriber ( See image) does not take them back to EasySocial Activiation, it goes to PayPlan Subscription page. (See image)

When the user clicks on the button in the email to verify the account they are taken to the site with the following link.
ACTIVATE LINK = https://sitename/index.php/co-op-home/registration?task=activate&token=b65fb8a8ee826f213d580a910cfe86c7&controller=registration

If you look at the new User account in EasySocial it is set to UnPublished and InActive. (See image)

THIS WORKS:
If you follow the message in the e-mail. "Alternatively, you may copy the token below and
paste it when you access the activation page at the activation page. " and enter the activation code that works just fine.

NOTE:
I've spend some time working with Ready Bytes on this issue. What they are saying is that the subscription part is working correctly, but when the user select the link to verify, EasySocial is not verified, so PayPlans thinks the account does not have a subscription, so it takes the user to the Subscription Options page.

ALSO:
I found a post similar to this where the user was having the same issue when using the wireframe theme. Post = http://stackideas.com/forums/email-loop
I made the change recommended to the wireframe verify.php file, but this did not fix the issue, just took the user to UNKNOWN page.

This is the only issue blocking the release of this site with subscriptions.
Thanks for the help.
Dan
Hey Daniel,

I would strongly advise that you get in touch with the guys over at Payplans as they would know best what is going on with their plugin. We are not really sure how their plugin is performing these redirections
·
Thursday, 22 October 2015 12:44
·
0 Likes
·
0 Votes
·
0 Comments
·
Stack Ideas,

I've spent several weeks working with PayPlans on this issue. I've upgraded their plug-in and have the latest version of EasySocial installed.

The registration link button in the e-mail sent by EasySocial has the following URL.
https://mysite.com/co-op-home/registration?task=activate&token=75461dd7438671cab048c0728655379f&controller=registration

ReadyBytes claims that it works every time for them and there is NO ISSUE. Unfortunately it FAILS every time for my users. So I have a problem that new accounts cannot be activated. The only way it will work for me is if I clear the cache of the browser that created the account. Then the URL works just fine.

I would like to modify the Validate E-Mail and remove the button that sends the URL and instead have the user got to the Activate URL and enter the token provided in the e-mail. Not smooth or easy, but at least the account is activated.

Can you tell me where the code is for the Validate E-mail when using the new Elegant Theme?

Thanks
Dan
·
Tuesday, 17 November 2015 02:14
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Daniel,

Can you tell me where the code is for the Validate E-mail when using the new Elegant Theme?


The email template file for sending the activation link is located at 'JOOMLA/components/com_easysocial/themes/wireframe/emails/html/registration/verify.php'. You can find the button code at line 39 ~ 55.

Hope this help and have a nice day!
Sam
·
Tuesday, 17 November 2015 12:16
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Sam,

Just what I was looking for. So the e-mails are defined under the Wireframe theme.

Thanks
·
Wednesday, 18 November 2015 06:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Daniel,

You are most welcome
Sam
·
Wednesday, 18 November 2015 11:03
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post