-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Force opt-in with specific email address #753
Comments
@xstefanox maybe you can use the change email function inside freemius. Why not use the current WP logged in user email address? (admin address only used when admin and logged in user is the same) What would you like to do with them when not sent license? We show the email address they are going to opt-in and link to user profile so they can change email before opt-in. Take my answer like a super market take only what you need Stefan. |
Our plugin already has a registration form to create an account on our servers; users are free to use the plugin without registration, accepting some limitations.
Upon registration in our login form, users are required to enter an email address that could be different from the one configured as WordPress admin email.
This means that users would be registered with the WordPress admin email and then we should silently change they're email address, right? Is this setup supported by Freemius SDK? |
@Tobias-Conrad do you have any suggestion? |
@xstefanox i gave all I have and it was not helpful for you. |
Sorry, but if this was the suggestion, it was not clear, that's the reason why I asked for a clarification here:
What do you mean by "changing the email"? I guess that if we can change the email address after the optin, this means that the email address is not strictly required to be the WordPress admin address, therefore, why not allowing the SDK to override the standard strategy used to determine the email address? For example with an email address received on SDK configuration or attaching a callback on some event. Regarding skipping the opt-in:
Any suggestion about this? |
@Tobias-Conrad any feedback on this? Adding @a-p-z @Gromdal @thevot to the conversation, since they are working on the same project and may be interested. |
Description
By default, Freemius SDK asks the user to opt-in the first time the plugin page is loaded.
My users are required to opt-in, because I would like to not send them the license by email, and, most importantly, I would like my users to be registered with an email address that is not the WordPress admin email.
The reason for that, is that we already have a registration logic in place in our plugin and we would like our users to register on Freemius with the same email address they previously used to register to our service, in order to sync the 2 email addresses and simplify the user experience.
Describe the solution you'd like
I would like a configuration key to provide the SDK the email address that should be used to register my users on Freemius and another configuration key to silently opt-in my users without displaying the optin-page.
Describe alternatives you've considered
As an alternative, I considered prefilling the email address field in the purchase form in some way, but without success.
The text was updated successfully, but these errors were encountered: