lmarazzo VIP
Total posts: 98
18 Апр 2018 12:15

Sergey the folowing link showed the same problem for manu users. https://onlinemusicguild.com/my-account/my-subscriptions.html

To replorduce:

  • Enter the coupon
  • Apply coupon
  • Enter Email
  • Subscribe for free

THe issue:

  1. The User activation link shows to be invalid when it is clicked
  2. The User is not registered on the correct group
  • Issue 1 is not present when using social media
  • Issue 2 persists and the groups are not assigned.

Thank you

Последние изменения: 24 Апр 2018


Sergey
Total posts: 13,748
19 Апр 2018 15:30

lmarazzo To replorduce: Enter the coupon

What coupon?


Sergey
Total posts: 13,748
19 Апр 2018 15:33

I need to login also to check the plan parameters and other things. Provide ligin access.


lmarazzo VIP
Total posts: 98
19 Апр 2018 17:16

On plan sid=40 use coupon INSTAMUSICIAN4FREE I sent you credentials via Skype. I dont know how to send you credentials in a secure way here.


Sergey
Total posts: 13,748
20 Апр 2018 11:12
  • Opened your site
  • Open plan ID 40
  • enter coupon and Apply
  • Click Activate Now

All word perfectly fine. No problems. I have active subscription now.

Check group fro this user if it was correctly changed.


lmarazzo VIP
Total posts: 98
20 Апр 2018 14:07

Sergey I'm confused. I gave you those steps to reproduce: Enter the coupon Apply coupon **Enter Email **Subscribe for free

You did those: Opened your site Open plan ID 40 enter coupon and Apply Click Activate Now

Clearly you were loged in with the superuser account and you did not have provide the email address. I just went trhough the process one more time and I am disapointed because if a user does not have an account, emerald fails to generate the correct activation link and does not assign the correct group to the new user. This is the email that I got:

Hello lmarazzo - @ - gmail . com

Thank you for registering at The Online Music Guild. Your account is created and must be activated before you can use it. To activate the account select the following link or copy-paste it in your browser: https://onlinemusicguild.com/component/users/?task=registration.activate& ;token=76a0921e76a893429a75726715b1eb84&Itemid=101

After activation you may login to https://onlinemusicguild.com/ using the following username and password:

Username: lmarazzo - @ - gmail. - com Password: oHxBx8pO

The group assigning works if the user already has an account. But we are talkign about new users that want to generate an account with a brand new email address and do not want to use their social media to make their account. I could eliminate the email field but that caps away the users that do not have social media accounts and limits the possibilities of my plans to sell to those users.


lmarazzo VIP
Total posts: 98
20 Апр 2018 14:11

![04 AM]( https://adwsfiles.s3.amazonaws.com/test/2018-04/1524233451_Screen +Shot+2018-04-20+at+6.58.04 AM.png)

![43 AM]( https://adwsfiles.s3.amazonaws.com/test/2018-04/1524233464_Screen +Shot+2018-04-20+at+6.56.43 AM.png)

![31 AM]( https://adwsfiles.s3.amazonaws.com/test/2018-04/1524233475_Screen +Shot+2018-04-20+at+6.56.31 AM.png)

![20 AM]( https://adwsfiles.s3.amazonaws.com/test/2018-04/1524233489_Screen +Shot+2018-04-20+at+6.56.20 AM.png)

![48 AM]( https://adwsfiles.s3.amazonaws.com/test/2018-04/1524233501_Screen +Shot+2018-04-20+at+6.55.48 AM.png)


lmarazzo VIP
Total posts: 98
21 Апр 2018 15:16

Installed 10-102 and the issue persists


Sergey
Total posts: 13,748
24 Апр 2018 06:41

I've played on your site.

  1. Theer is an error during activation of user account with реу link, because activation is not needed, user is already active, because in Emerald global settings, activation of user account on succes purchase in turned on. Note that Emerald does not generate that activatoin message. It is Joomla core registration method that I use to register users. The same method that Joomla uses. And Joomla user manager send that message, before Emerald activate user. So by the time Emerald start user activation, confirmation email already sent.

Solution

I'll add some adjustments and will not activate users on free plans.

  1. Another problem is with dates. I create subscription, and server time is 00:12:15 and I checked that this what I set to DB fields, but it is stored with 16:12:15. I have no idea what extension affects all datatime fields in the DB. That should not work like this with Emerald. Emerald works based on server time and does not apply time zones at all. Because of that, user is not moved to another group, because his subscription actualy starts later when I compare subscription start time with SERVER time.

Solutions

I do not even know. You have to find out what affects dates in DB. I changed Joomla time xone parameter in global configuration, but that does not seem to affect anything.


lmarazzo VIP
Total posts: 98
24 Апр 2018 12:41

Oh!! For problem 1: I wouold rather have the user activate account manually for now. As for the solution... will u include this on the new update?

For Problem 2: I dont know either... how can I approach this?


Sergey
Total posts: 13,748
24 Апр 2018 12:44

lmarazzo u include this on the new update?

Yes.

lmarazzo I dont know either... how can I approach this?

It will need a debuging at what point it is changed. Let me try to catch the error. I'll report later.

Работает на Cobalt